Skip to content

Commit

Permalink
workflow for running pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
lujzi05 committed Nov 22, 2024
1 parent cb22079 commit 5b3407a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/run_pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run Pytest

on:
push:
branches: "main"
pull_request:
branches: "main"
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
run: |
poetry install
- name: Run tests
run: poetry run pytest tests/

0 comments on commit 5b3407a

Please sign in to comment.