diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml new file mode 100644 index 0000000..b862b32 --- /dev/null +++ b/.forgejo/workflows/test.yml @@ -0,0 +1,19 @@ +on: [push] +jobs: + run-pytest: + runs-on: docker + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-python@v5 + with: + python-version: '3.11.2' + cache: 'poetry' + + - name: Install poetry + run: | + apt install pipx + pipx install poetry + + - run: poetry install + - run: poetry run pytest