Skip to content

Commit

Permalink
ci: update codecov (#1689)
Browse files Browse the repository at this point in the history
* ci: update codecov to version 4

* ci: make codecov verbose

* ci: add slug to codecov

* ci: try codecov env

* ci: remove local codecov file in favor of online config

* ci: downgrade codecov to v3

* ci: try 4

* ci: test actualy token

* ci: remove hardcoded token

* ci: echo token

* ci: of course its a reusable workflow 🤦

---------

Co-authored-by: janniks <[email protected]>
  • Loading branch information
janniks and janniks authored May 13, 2024
1 parent c58505d commit baeff07
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .github/.codecov.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
tests:
needs: pre-run
uses: ./.github/workflows/tests.yml
secrets: inherit

publish-pr:
runs-on: ubuntu-latest
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,6 @@ jobs:
run: npm run lerna run test --stream --parallel -- -- --coverage

- name: Upload test coverage
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit baeff07

Please sign in to comment.