Skip to content

Commit

Permalink
Merge pull request #17 from cclauss/patch-1
Browse files Browse the repository at this point in the history
GitHub Action to run the tests on every pull request
  • Loading branch information
MattijsKneppers authored Jun 17, 2024
2 parents 8d5cf46 + 8fa47dd commit 0dd97ee
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: test
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: |
cd maxdiff
python3 tests/test.py
- run: pip install --upgrade pip wheel
- run: pip install pytest
- run: pytest maxdiff/tests/test.py

0 comments on commit 0dd97ee

Please sign in to comment.