Skip to content

Commit

Permalink
run nox in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Oct 11, 2024
1 parent 3977790 commit c95acd4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 26 deletions.
21 changes: 0 additions & 21 deletions .github/actions/setup-depiction/action.yml

This file was deleted.

14 changes: 9 additions & 5 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-depiction
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install nox
shell: bash
run: pip install nox[uv]
- name: Run unit tests
run: cd tests && python -m unittest discover -s ./unit -p 'test_*.py'
- name: Code style
run: ruff check || true
if: success() || failure()
run: nox -s tests
# - name: Code style
# run: ruff check || true
# if: success() || failure()
#code_style:
# name: Code Style
# runs-on: ubuntu-latest
Expand Down

0 comments on commit c95acd4

Please sign in to comment.