Skip to content

Commit

Permalink
Use reusable action for Germany
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo committed Jun 20, 2022
1 parent 3a1cc5a commit bc7bc24
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions .github/workflows/Germany.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,6 @@ name: Germany

jobs:
Germany:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-r@v2

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: devtools

- name: Install package
run: R CMD INSTALL .

- name: Test dataset
run: |
options("testDownload" = TRUE)
options("testSource" = "Germany")
devtools::load_all()
testthat::test_file("tests/testthat/test-regional-datasets.R", reporter = c("summary", "fail"))
shell: Rscript {0}
uses: ./.github/workflows/test-regional-datasets.yml
with:
test-source: ${{ github.workflow }}

0 comments on commit bc7bc24

Please sign in to comment.