From 3b520a1a3a0785d25d40242e164c727fbea797a1 Mon Sep 17 00:00:00 2001 From: Dhanus Date: Tue, 23 Jul 2024 17:49:24 +0530 Subject: [PATCH] [ci] Run tests even on QA fails --- .github/workflows/ci.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 38ce775..c443901 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,29 +36,27 @@ 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 openwisp-ipam - run: | pip install -U -e . pip install ${{ matrix.django-version }} - - - name: Install jslint - run: sudo npm install -g jslint stylelint + sudo npm install -g jslint stylelint - name: QA checks run: ./run-qa-checks - name: Tests + if: ${{ !cancelled() && steps.deps.conclusion == 'success' }} run: | coverage run ./runtests.py --parallel SAMPLE_APP=1 coverage run ./runtests.py --parallel coverage combine - name: Upload Coverage + if: ${{ success() }} run: coveralls --service=github env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}