From 3b0451d79b31f406ef24038ad2b7648e04474b41 Mon Sep 17 00:00:00 2001 From: Leonardo Schwarz Date: Thu, 19 Sep 2024 15:04:05 +0200 Subject: [PATCH] adapt to src-layout and use nox --- .github/workflows/run_unit_tests.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index 0f8b55e..0e88d7d 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -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 @@ -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