Skip to content

Commit

Permalink
update for v4
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjennings authored Sep 12, 2024
1 parent 151d371 commit b07b358
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 7 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/testdriver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: TestDriver.ai

on:
push:
branches: ["main"]
pull_request:
workflow_dispatch:

jobs:
test:
name: "TestDriver"
runs-on: ubuntu-latest
steps:
- uses: testdriverai/action@main
with:
key: ${{secrets.TESTDRIVER_API_KEY}}
prompt: |
1. /run testdriver/test.yml
prerun: |
cd $env:TEMP
npm init -y
npm install dashcam-chrome
cd C:\actions-runner\_work\testdriver\testdriver
npm install
react-scripts start
Start-Process "C:/Program Files/Google/Chrome/Application/chrome.exe" -ArgumentList "--start-maximized", "--load-extension=$(pwd)/node_modules/dashcam-chrome/build", "${{ env.WEBSITE_URL }}"
exit
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FORCE_COLOR: "3"
WEBSITE_URL: "http://localhost:3000" # Define the website URL here
7 changes: 0 additions & 7 deletions .testdriver/prerun.sh

This file was deleted.

0 comments on commit b07b358

Please sign in to comment.