Skip to content

Commit

Permalink
Add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fluxxcode committed Dec 18, 2023
1 parent a1d9755 commit 61d9219
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: test

on: [pull_request]

jobs:
unit-tests:
runs-on: ubuntu-latest
name: test
steps:
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install dependencies
run: |
python -m pip3 install --upgrade pip
python -m pip3 install poetry
poetry install
- name: Run tests
run: poetry run python -m unittest -v test/test*.py

0 comments on commit 61d9219

Please sign in to comment.