Skip to content

Commit

Permalink
[ci] Run tests even when QA fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhanus3133 authored Jul 23, 2024
1 parent b8c2fe8 commit 26fc418
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 @@ -48,16 +48,12 @@ jobs:
spatialite-bin \
libsqlite3-mod-spatialite
- name: Install npm dependencies
run: sudo npm install -g jshint stylelint

- 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-firmware-upgrader
run: |
sudo npm install -g jshint stylelint
pip install -U -e .
pip install ${{ matrix.django-version }}
Expand All @@ -66,12 +62,14 @@ jobs:
./run-qa-checks
- name: Tests
if: ${{ !cancelled() && steps.deps.conclusion == 'success' }}
run: |
coverage run -a --source=openwisp_firmware_upgrader runtests.py
# SAMPLE_APP tests do not affect coverage so can be run in parallel to speed up
SAMPLE_APP=1 ./runtests.py --parallel
- name: Upload Coverage
if: ${{ success() }}
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 26fc418

Please # to comment.