Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Run tests even on QA fails #22

Merged
merged 1 commit into from
Jul 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,29 +38,25 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install npm dependencies
run: sudo npm install -g jshint stylelint

- name: Upgrade python system packages
run: pip install -U pip wheel setuptools

- name: Install openwisp-controller
- name: Install Dependencies
id: deps
run: |
pip install -U pip wheel setuptools
pip install -U -e .[test]

- name: Install test dependencies
run: |
pip install ${{ matrix.django-version }}
sudo npm install -g jshint stylelint

- name: QA checks
run: |
./run-qa-checks

- name: Tests
if: ${{ !cancelled() && steps.deps.conclusion == 'success' }}
run: |
coverage run --source=flat_json_widget runtests.py

- name: Upload Coverage
if: ${{ success() }}
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Loading