Skip to content

Commit

Permalink
run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Gol committed Feb 17, 2024
1 parent aca9029 commit d61e03b
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: python:3.10

steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: pip install -r requirements.txt; fi

- name: Run pytest
run: pytest --junitxml=report.xml

- name: Publish Test Report
uses: actions/upload-artifact@v3
if: always()
with:
name: pytest-reports
path: report.xml

0 comments on commit d61e03b

Please sign in to comment.