Skip to content

Commit

Permalink
generate report on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Nov 28, 2024
1 parent bd529b7 commit e147489
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions: read-all

jobs:
test-coverage:
runs-on: windows-latest
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Create Junit Report
if: always()
run: |
testthat::test_local(reporter = testthat::JunitReporter$new("./junit.xml"))
testthat::test_local(reporter = testthat::JunitReporter$new("./cff_junit.xml"))
shell: Rscript {0}

- name: Upload test results to Codecov
Expand All @@ -50,7 +50,7 @@ jobs:
with:
# Fail if error if not on PR, or if on PR and token is given
fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
file: ./junit.xml
file: ./cff_junit.xml
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload coverage report
Expand Down

0 comments on commit e147489

Please sign in to comment.