Skip to content

Commit

Permalink
ci: add tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Sep 19, 2024
1 parent f7525f0 commit 75db3cc
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Run Tests

on: push

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create .env file
run: cat env.* > .env
- name: Load .env file
uses: xom9ikk/dotenv@v2
- name: Set up Python 3.11
uses: ruby/setup-python@v5
with:
python-version: 3.11
cache: poetry
- run: poetry install
- name: Run tests
run: poetry run pytest

0 comments on commit 75db3cc

Please sign in to comment.