Skip to content

Commit

Permalink
Unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mifeet committed Dec 8, 2024
1 parent aad5fcd commit db4a1ca
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Tests & type check
on:
push:
branches: [main]
pull_request:

jobs:
tests:
name: 'Unit tests'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install dependencies
run: |
pipx install poetry
poetry install --no-interaction
- name: Run tests
run: |
poetry run pytest

0 comments on commit db4a1ca

Please sign in to comment.