ci: run coverage reports
All checks were successful
/ tests (push) Successful in 18s

This commit is contained in:
Antoine Viallon 2024-07-26 00:17:36 +02:00
parent 8cd5ad51ee
commit 7655b2a6a8
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -8,6 +8,13 @@ jobs:
- run: apk add --no-cache git nodejs-current - run: apk add --no-cache git nodejs-current
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: pip install -U pytest beartype termcolor - run: pip install -U pytest pytest-cov beartype termcolor
- run: pytest - run: >
working-directory: compiler pytest
--cov-report=term
--cov-report=html
--cov=compiler compiler/tests/
- uses: actions/upload-artifact@v3
with:
name: coverage-report
path: htmlcov/