Skip to content

Commit

Permalink
run tests on every push
Browse files Browse the repository at this point in the history
  • Loading branch information
rodja committed Jul 7, 2024
1 parent a135a07 commit 7270a9a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Run Tests

on: [push]

jobs:
pytest:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: set up Python
uses: actions/setup-python@v2
with:
python-version: "3.11"
- name: set up Poetry
uses: abatilo/[email protected]
with:
poetry-version: "1.2.2"
- name: install dependencies
run: |
pip install -r requirements.txt
pip install pytest pytest-asyncio
- name: run pytests
run: pytest -sv

0 comments on commit 7270a9a

Please sign in to comment.