20 lines
No EOL
515 B
YAML
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/ |