diff --git a/.forgejo/workflows/tests.yml b/.forgejo/workflows/tests.yml index 0fa275c..4173ebb 100644 --- a/.forgejo/workflows/tests.yml +++ b/.forgejo/workflows/tests.yml @@ -8,6 +8,13 @@ jobs: - run: apk add --no-cache git nodejs-current - uses: actions/checkout@v4 - - run: pip install -U pytest beartype termcolor - - run: pytest - working-directory: compiler + - 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/ \ No newline at end of file