Skip to content

Commit

Permalink
Codecov compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
coady committed Mar 24, 2024
1 parent 98fe1de commit 4b11af0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: build

on:
workflow_dispatch:
push:
branches: [main]
pull_request:
Expand All @@ -21,6 +22,8 @@ jobs:
- run: make check
- run: coverage xml
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

lint:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ check:
python -m pytest -s --cov

lint:
ruff .
ruff check .
ruff format --check .
mypy -p multimethod
mypy tests/static.py | grep -qv Any
Expand Down

0 comments on commit 4b11af0

Please sign in to comment.