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 4ec7271 commit 61dd578
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,22 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Upgrade python system packages
run: pip install -U wheel setuptools

- name: Install netengine
run: pip install -e .

- name: Install test dependencies
run: pip install -U -r requirements-test.txt
- name: Install Dependencies
id: deps
run: |
pip install -U wheel setuptools
pip install -e .
pip install -U -r requirements-test.txt
- name: Run QA Checks
run: ./run-qa-checks

- name: Run tests
if: ${{ !cancelled() && steps.deps.conclusion == 'success' }}
run: coverage run --source=netengine ./runtests.py

- name: Upload Coverage
if: ${{ success() }}
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 61dd578

Please sign in to comment.