Skip to content

Commit

Permalink
Fix: Changes cypress paths in CI template
Browse files Browse the repository at this point in the history
Changes working directory for cypress from .rhino/node to
.rhino, and project path from root/tests to ../tests.
All node stuff are now in .rhino and not in .rhino/node.
When cypress run tests, cypress looks for cypress.json
in .rhino/root/tests when it should look at the ./tests.
Cypress seems to be still stuck in .rhino, so it needs
to move a directory higher (..) to locates tests/ and
cypress.json.
  • Loading branch information
vibalre committed Nov 30, 2022
1 parent a733536 commit ed5f179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/templates/github_ci/dot.github/workflows/rhino-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ jobs:
if: always()
uses: cypress-io/github-action@v2
with:
working-directory: .rhino/node # Created by earlier commands which use Node.js
working-directory: .rhino # Created by earlier commands which use Node.js
start: npm run run-app
project: root/tests
project: ../tests

0 comments on commit ed5f179

Please sign in to comment.