Skip to content

Commit

Permalink
GitHub Action to run the tests on every pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Jun 13, 2024
1 parent 8d5cf46 commit c62f259
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: test
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
strategy:
fail-fast: false
matrix:
python-version: [3.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- 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 c62f259

Please sign in to comment.