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 committed Jul 23, 2024
1 parent 9f5e92f commit 8a7faf9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,27 @@ jobs:
with:
python-version: 3.7

- name: Install OpenWISP Config
run: sudo ./install-dev.sh

- name: Install Python dependencies
run: pip install openwisp-utils[qa]>=0.7
- name: Install Dependencies
id: deps
run: |
sudo ./install-dev.sh
pip install openwisp-utils[qa]>=0.7
- name: QA-Checks
run: ./run-qa-checks
env:
CI: 1

- name: Run sh-checker
if: ${{ !cancelled() && steps.deps.conclusion == 'success' }}
uses: luizm/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
sh_checker_comment: true

- name: Tests
if: ${{ !cancelled() && steps.deps.conclusion == 'success' }}
run: ./runtests

build:
Expand Down

0 comments on commit 8a7faf9

Please sign in to comment.