forked from khoj-ai/khoj
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 1.08 KB
/
testdriver.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: TestDriver.ai
on:
push:
branches: ["master"]
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
git clone https://github.com/testdriverai/khoj.git
cd khoj
python -m venv venv
.\venv\Scripts\activate
pip install -e '.[dev]'
cd src/interface/web/
yarn install --frozen-lockfile
yarn dev
Start-Process "C:/Program Files/Google/Chrome/Application/chrome.exe" -ArgumentList "--start-maximized", "--load-extension=$(pwd)/node_modules/dashcam-chrome/build", "http://localhost:3000"
exit
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FORCE_COLOR: "3"
WEBSITE_URL: "https://example.com" # Define the website URL here