diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml new file mode 100644 index 0000000..3959c61 --- /dev/null +++ b/.forgejo/workflows/ci.yml @@ -0,0 +1,12 @@ +name: ci +on: [push, pull_request] +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: | + python3 -m pip install --quiet pytest + pytest -q; rc=$? + [ $rc -eq 5 ] && rc=0 + exit $rc