Skip to content

Commit

Permalink
skip tests for private repos on CI - not easy to update env vars there
Browse files Browse the repository at this point in the history
  • Loading branch information
wurli committed Feb 15, 2024
1 parent e7a843c commit 8848d86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-available_version_git.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ test_that("Description files can be read from GitHub public repos", {
test_that("Description files can be read from GitHub private repos", {

skip_if_offline()
skip_on_ci()

# NOTE: This PAT is 'fine-grained' and gives read-only access for a single
# repo containing an empty package {updateme.testpkg.private}.
Expand Down Expand Up @@ -64,6 +65,7 @@ test_that("Description files can be read from GitLab public repos", {
test_that("Description files can be read from GitLab private repos", {

skip_if_offline()
skip_on_ci()

# NOTE: This PAT is 'fine-grained' and gives read-only access for a single
# repo containing an empty package {updateme.testpkg.private}.
Expand Down

0 comments on commit 8848d86

Please sign in to comment.