Stirling-PDF/.github/workflows/testdriver.yml
Tarun Kumar S 7939fbbf2b
Update the Tests (#2066)
* use transform instead of change

* disable workflows

* updates expect commands as well

* try "highlighted"

* update versions

* update workflow files

* Remove pro badge if enabled

* add some wait time

---------

Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
Co-authored-by: a <a>
2024-10-24 17:18:45 +01:00

36 lines
999 B
YAML

name: TestDriver.ai
on:
push:
branches: ["main"]
pull_request:
workflow_dispatch:
jobs:
test:
name: "TestDriver"
runs-on: ubuntu-latest
steps:
- name: Debug - Print masked secret
run: |
if [ -n "${{secrets.TESTDRIVER_API_KEY}}" ];
then
echo "yes the api is there"
else
echo "nope"
fi
- uses: testdriverai/action@main
with:
key: ${{secrets.TESTDRIVER_API_KEY}}
prerun: |
npm install
npm run build
npm install dashcam-chrome --save
Start-Process "C:/Program Files/Google/Chrome/Application/chrome.exe" -ArgumentList "--start-maximized", "--load-extension=$(pwd)/node_modules/dashcam-chrome/build", "https://stirlingpdf.io"
Start-Sleep -Seconds 20
prompt: |
1. /run testdriver/test.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FORCE_COLOR: "3"