Skip to content

Commit

Permalink
adding secret to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyclements committed Jan 16, 2024
1 parent 4d73552 commit db06c22
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/check-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@ jobs:
extra-packages: any::rcmdcheck
needs: check

- uses: r-lib/actions/check-r-package@v2
- uses: r-lib/actions/check-r-package@v2

- name: Decode GCS Auth JSON
run: echo ${{ secrets.GCS_AUTH_JSON }} | base64 -d > ./tests/testthat/testdata/epicsa_token.json
3 changes: 3 additions & 0 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
extra-packages: any::covr
needs: coverage

- name: Decode GCS Auth JSON
run: echo ${{ secrets.GCS_AUTH_JSON }} | base64 -d > ./tests/testthat/testdata/epicsa_token.json

- name: Test coverage
run: |
covr::codecov(
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
library(testthat)
library(epicsawrap)
library(epicsadata)

test_check("epicsawrap")
test_check("epicsawrap")

0 comments on commit db06c22

Please sign in to comment.