Skip to content

Commit

Permalink
improve pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed May 2, 2024
1 parent 95c8285 commit 4b3f711
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/run_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ jobs:
- name: Install bfabricPy
run: |
pip install uv
uv venv
uv pip install ".[dev]"
- name: Activate virtualenv
run: |
. .venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
- name: Run unit tests
run: python -m unittest discover -s bfabric/tests/unit -p 'test_*.py'
code_style:
Expand All @@ -36,6 +41,10 @@ jobs:
run: |
pip install uv
uv pip install ".[dev]"
- name: Activate virtualenv
run: |
. .venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
- name: Check code with ruff
run:
ruff bfabric

0 comments on commit 4b3f711

Please sign in to comment.