Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjennings authored Mar 1, 2024
0 parents commit 73000ff
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
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: |
2. click "Continue"
2. focus the Wave input with the keyboard shorcut Command + I
3. type 'ls' into the input
4. press return
5. validate Wave shows the result of 'ls'
# - name: Send custom JSON data to Slack workflow
# id: slack
# if: ${{ always() }}
# uses: slackapi/[email protected]
# with:
# # This data can be any valid JSON from a previous step in the GitHub Action
# payload: |
# {
# "link": "${{ steps.testdriver.outputs.link }}",
# "summary": ${{ toJSON(steps.testdriver.outputs.summary)}}
# }
# env:
# SLACK_WEBHOOK_URL: "https://hooks.slack.com/triggers/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"
20 changes: 20 additions & 0 deletions .testdriver/prerun.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
rm ~/Desktop/WITH-LOVE-FROM-AMERICA.txt
brew install go
brew tap scripthaus-dev/scripthaus
brew install scripthaus
npm install -g yarn
mkdir ~/build
cd ~/build
git clone https://github.com/wavetermdev/waveterm.git
cd waveterm
scripthaus run build-backend
echo "Yarn"
yarn
echo "Rebuild"
scripthaus run electron-rebuild
echo "Webpack"
scripthaus run webpack-build
echo "Starting Electron"
scripthaus run electron 1>/dev/null 2>&1 &
echo "Electron Done"
exit
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# testdriver-wave

0 comments on commit 73000ff

Please sign in to comment.