language-learning-app/.forgejo/workflows/test.yaml
wilson 2cae5d9445
Some checks failed
/ test (push) Has been cancelled
feat: add the 'tests' module to the project
2026-04-07 07:55:57 +01:00

24 lines
493 B
YAML

on:
push:
branches:
- "main"
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install pytest
run: pip install pytest
- name: Run tests
working-directory: test
run: docker-compose up -d && pytest -v