diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..222d55b --- /dev/null +++ b/.github/workflows/ci.yml @@ -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