Skip to content

Codecov action v4 with token #1306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/api_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ jobs:
working-directory: openc3-cosmos-cmd-tlm-api
env:
OPENC3_DEVEL: ../openc3
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
directory: openc3-cosmos-cmd-tlm-api/coverage
flags: ruby-api # See codecov.yml
token: ${{ secrets.CODECOV_TOKEN }}

script-runner-api:
if: ${{ github.actor != 'dependabot[bot]' }}
Expand All @@ -84,7 +85,8 @@ jobs:
working-directory: openc3-cosmos-script-runner-api
env:
OPENC3_DEVEL: ../openc3
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
directory: openc3-cosmos-script-runner-api/coverage
flags: ruby-api # See codecov.yml
token: ${{ secrets.CODECOV_TOKEN }}
3 changes: 2 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,11 @@ jobs:
- name: Generate coverage
run: yarn fixlinux; yarn cobertura
working-directory: playwright
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
directory: playwright/coverage
flags: frontend # See codecov.yml
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload test artifacts
if: always() # Upload on pass or fail
uses: actions/upload-artifact@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/python_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ jobs:
coverage run -m pytest ./test/
coverage xml -i
working-directory: openc3/python
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
working-directory: openc3/python
flags: python # See codecov.yml
token: ${{ secrets.CODECOV_TOKEN }}
6 changes: 4 additions & 2 deletions .github/workflows/ruby_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,19 @@ jobs:
working-directory: openc3
env:
OPENC3_DEVEL: ${GITHUB_WORKSPACE}/openc3
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
directory: openc3/coverage
flags: ruby-backend # See codecov.yml
token: ${{ secrets.CODECOV_TOKEN }}
- name: Run unit tests without extensions
run: bundle exec rspec --tag no_ext
working-directory: openc3
env:
OPENC3_NO_EXT: 1
OPENC3_DEVEL: ${GITHUB_WORKSPACE}/openc3
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
directory: openc3/coverage
flags: ruby-backend # See codecov.yml
token: ${{ secrets.CODECOV_TOKEN }}
Loading