Skip to content

Commit

Permalink
ci: add CI to run pure unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Apr 30, 2024
1 parent 735c69c commit cd918e4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/run_unit_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: unit tests

on:
push:
branches: [ main, dev-bfabric-2 ]
pull_request:
branches: [ main, dev-bfabric-2 ]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install bfabricPy
run: python -m pip install .
- name: Run unit tests
run: python -m unittest discover -s bfabric/tests/unit -p 'test_*.py'

0 comments on commit cd918e4

Please sign in to comment.