Skip to content

Commit a12d20e

Browse files
committed
[ci] Run tests even on QA fails
1 parent 6d70bac commit a12d20e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

Diff for: .github/workflows/ci.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -48,25 +48,24 @@ jobs:
4848
libgeos-dev libspatialite-dev spatialite-bin \
4949
libsqlite3-mod-spatialite
5050
51-
- name: Upgrade python system packages
52-
run: pip install -U pip wheel setuptools
53-
54-
- name: Installing module
51+
- name: Install Dependencies
52+
id: deps
5553
run: |
54+
pip install -U pip wheel setuptools
5655
pip install -U -e .
5756
pip install -U ${{ matrix.django-version }}
58-
59-
- name: Install python dependencies
60-
run: pip install -U -r requirements-test.txt
57+
pip install -U -r requirements-test.txt
6158
6259
- name: QA checks
6360
run: ./run-qa-checks
6461

6562
- name: Tests
63+
if: ${{ !cancelled() && steps.deps.conclusion == 'success' }}
6664
run: |
6765
coverage run --source=owm_legacy runtests.py
6866
6967
- name: Upload Coverage
68+
if: ${{ success() }}
7069
run: coveralls --service=github
7170
env:
7271
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)