Skip to content

Commit

Permalink
Merge pull request #592 from Appsilon/591-fix-flaky-e2e
Browse files Browse the repository at this point in the history
Set `GITHUB_PAT` to avoid random E2E failures
  • Loading branch information
kamilzyla authored Jun 17, 2024
2 parents 7ae011f + 86613c9 commit 07f2f56
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ on:
workflow_dispatch:

defaults:
run:
working-directory: ./tests/e2e/
run:
working-directory: ./tests/e2e/

permissions:
contents: read

jobs:
main:
Expand Down Expand Up @@ -68,6 +71,10 @@ jobs:
run: |
cd RhinoApp
Rscript ../test-dependencies.R
env:
# Without `GITHUB_PAT`, `renv::install()` fails randomly on macOS
# when installing packages from GitHub (see issue #591).
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

- name: Node.js commands should respect RHINO_NPM
# Skip this test on Windows because it requires a Unix shell.
Expand Down

0 comments on commit 07f2f56

Please sign in to comment.