compiler/.forgejo/workflows/tests.yml
Antoine Viallon 7655b2a6a8
All checks were successful
/ tests (push) Successful in 18s
ci: run coverage reports
2024-07-26 00:38:53 +02:00

20 lines
No EOL
515 B
YAML

on: [ push ]
jobs:
tests:
container:
image: docker.io/library/python:3.11-alpine
runs-on: docker
steps:
- run: apk add --no-cache git nodejs-current
- uses: actions/checkout@v4
- run: pip install -U pytest pytest-cov beartype termcolor
- run: >
pytest
--cov-report=term
--cov-report=html
--cov=compiler compiler/tests/
- uses: actions/upload-artifact@v3
with:
name: coverage-report
path: htmlcov/