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 286044f commit 131d5e5
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,29 +35,26 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install python dependencies
run: pip install -U "pip==20.2.4" setuptools wheel

- name: Install npm dependencies
run: sudo npm install -g jslint

- name: Install test dependencies
run: pip install -U -r requirements-test.txt

- name: Install django-x509
- name: Install Dependencies
id: deps
run: |
pip install -U "pip==20.2.4" setuptools wheel
sudo npm install -g jslint
pip install -U -r requirements-test.txt
pip install -U -e .
pip install ${{ matrix.django-version }}
- name: QA Checks
run: ./run-qa-checks

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

0 comments on commit 131d5e5

Please sign in to comment.