Skip to content

Commit

Permalink
adapt to src-layout and use nox
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Sep 19, 2024
1 parent ea4c01d commit 3b0451d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/run_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-bfabricpy
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install nox
run: pip install nox
- name: Run unit tests
# Note: we use cd to double-check that the installation actually worked
run: cd bfabric/tests && pytest ./unit
run: nox -s tests
code_style:
name: Code Style
runs-on: ubuntu-latest
Expand All @@ -34,7 +35,7 @@ jobs:
- uses: actions/checkout@v4
- run: sudo apt-get install -y ripgrep
name: Install ripgrep
- run: rg -n TODO bfabric
- run: rg -n TODO .
name: List TODOs
license_check:
name: License Check
Expand Down

0 comments on commit 3b0451d

Please sign in to comment.