diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 644d62f..4fcb6f0 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -6,7 +6,7 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install Manta from Source + - name: Install Manta from source run: | # Make venv python3 -m venv venv/ @@ -44,6 +44,11 @@ jobs: .coverage coverage.xml + - name: Show coverage report + run: | + source venv/bin/activate + coverage report + - name: Upload results to Codecov run: | source venv/bin/activate diff --git a/.gitignore b/.gitignore index ac7c040..72e536d 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,8 @@ build/ *.vcd *.out *.csv +*.xml +.coverage* # Vivado files *.log diff --git a/Makefile b/Makefile index 4b70558..e380d0a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ .PHONY: test format clean serve_docs test: - python3 -m pytest --cov-report xml --cov=src + python3 -m pytest --cov-report xml --cov=src/manta test/ format: python3 -m ruff check --select I --fix