From 2a9580d114ef6314e14a37731f463b20fa2c8bb2 Mon Sep 17 00:00:00 2001 From: Dhanus Date: Tue, 23 Jul 2024 17:58:02 +0530 Subject: [PATCH] [ci] Run tests even on QA fails --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b68ec5896..083cc59a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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