meta: add codecov
This commit is contained in:
parent
0715788ed7
commit
129f991dda
|
|
@ -29,4 +29,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
source ./environment.sh
|
source ./environment.sh
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
make test
|
make test
|
||||||
|
|
||||||
|
- name: Upload results to Codecov
|
||||||
|
uses: codecov/codecov-action@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
2
Makefile
2
Makefile
|
|
@ -1,6 +1,6 @@
|
||||||
.PHONY: test format clean serve_docs
|
.PHONY: test format clean serve_docs
|
||||||
test:
|
test:
|
||||||
python3 -m pytest
|
python3 -m pytest --cov
|
||||||
|
|
||||||
format:
|
format:
|
||||||
python3 -m black .
|
python3 -m black .
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,8 @@ requires-python = ">=3.8"
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
dev = [
|
dev = [
|
||||||
"pytest",
|
"pytest",
|
||||||
"black",
|
"pytest-cov",
|
||||||
|
"ruff",
|
||||||
"mkdocs-material",
|
"mkdocs-material",
|
||||||
"amaranth_boards@git+https://github.com/amaranth-lang/amaranth-boards"
|
"amaranth_boards@git+https://github.com/amaranth-lang/amaranth-boards"
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue