Skip to content

Commit

Permalink
[ci] Run tests even on QA fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhanus3133 committed Jul 23, 2024
1 parent 7e4fb35 commit 3b520a1
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,29 +36,27 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install python dependencies
- name: Install Dependencies
id: deps
run: |
pip install -U pip wheel setuptools
pip install -U -r requirements-test.txt
- name: Install openwisp-ipam
run: |
pip install -U -e .
pip install ${{ matrix.django-version }}
- name: Install jslint
run: sudo npm install -g jslint stylelint
sudo npm install -g jslint stylelint
- name: QA checks
run: ./run-qa-checks

- name: Tests
if: ${{ !cancelled() && steps.deps.conclusion == 'success' }}
run: |
coverage run ./runtests.py --parallel
SAMPLE_APP=1 coverage run ./runtests.py --parallel
coverage combine
- name: Upload Coverage
if: ${{ success() }}
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 3b520a1

Please sign in to comment.