Skip to content

Commit 4b11af0

Browse files
committed
Codecov compatibility.
1 parent 98fe1de commit 4b11af0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/build.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: build
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches: [main]
67
pull_request:
@@ -21,6 +22,8 @@ jobs:
2122
- run: make check
2223
- run: coverage xml
2324
- uses: codecov/codecov-action@v4
25+
with:
26+
token: ${{ secrets.CODECOV_TOKEN }}
2427

2528
lint:
2629
runs-on: ubuntu-latest

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ check:
22
python -m pytest -s --cov
33

44
lint:
5-
ruff .
5+
ruff check .
66
ruff format --check .
77
mypy -p multimethod
88
mypy tests/static.py | grep -qv Any

0 commit comments

Comments
 (0)