Skip to content

Commit

Permalink
DRAFT: GitHub Action to run pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Oct 18, 2023
1 parent de46688 commit a954532
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: pytest
on: [pull_request, push]
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with: {python-version: 3.x}
- run: pip install pytest
- run: pip install -r requirements.txt || pip install --editable . || pip install . || true
- run: pytest .
- run: pytest --doctest-modules . || true

0 comments on commit a954532

Please sign in to comment.