Skip to content

Commit

Permalink
[ci] Run tests also if QA checks fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhanus3133 authored Jul 23, 2024
1 parent 7341dc3 commit 562f46c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,24 @@ 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 netjsonconfig
run: pip install -U -e .
pip install -U -e .
- name: QA checks
run: ./run-qa-checks

- name: Tests
if: ${{ !cancelled() && steps.deps.conclusion == 'success' }}
run: |
coverage run -a --source=netjsonconfig runtests.py
coverage xml
- name: Upload Coverage
if: ${{ success() }}
uses: coverallsapp/github-action@v2
with:
parallel: true
Expand Down

0 comments on commit 562f46c

Please sign in to comment.