From 4b11af0777428dc42d297edd7086412c14f888e1 Mon Sep 17 00:00:00 2001 From: Aric Coady Date: Sun, 24 Mar 2024 10:02:40 -0700 Subject: [PATCH] Codecov compatibility. --- .github/workflows/build.yml | 3 +++ Makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c02904e..aa70dd4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,7 @@ name: build on: + workflow_dispatch: push: branches: [main] pull_request: @@ -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 diff --git a/Makefile b/Makefile index f1d7dff..cc2f152 100644 --- a/Makefile +++ b/Makefile @@ -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