forked from Lunakepio/Mario-Kart-3.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b08815
commit 7d53a3f
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: TestDriver.ai | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
branches: ["main"] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
name: "TestDriver" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dashcamio/testdriver@main | ||
id: testdriver | ||
with: | ||
prompt: | | ||
1. open http://localhost:5173 in google chrome | ||
1. click 'Launch' | ||
1. press 'Enter' | ||
1. click 'Keyboard' | ||
1. click 'Confirm' | ||
1. press the 'w' key to drive forward | ||
1. press the 's' key to drive backward | ||
1. while holding 'w', press 'a' to turn left | ||
1. while holding 'w', press 'd' to turn right | ||
1. while holding 'w', press 'e' to boost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
npm install | ||
npm run dev 1>/dev/null 2>&1 & | ||
exit |