Files
daily-counter/.gitea/workflows/test.yaml
John Ahlroos 545841561f
All checks were successful
Run Tests / run-tests (push) Successful in 31s
Add test runner
2026-04-25 12:11:27 +02:00

24 lines
594 B
YAML

name: Run Tests
on:
push: {}
env:
RUNNER_TOOL_CACHE: /toolcache
jobs:
run-tests:
runs-on: python
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.SSH_JOHN_PRIVATE_KEY }}
- name: Install poetry
run: |
python3 -m pip install poetry==2.3.4
- name: Install the project dependencies
run: |
python3 -m poetry install
python3 -m poetry env info
- name: Run the automated tests
run: |
python3 -m poetry run python -m pytest tests