Test SPS Demos #3
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
name: Test SPS Demos | |
on: workflow_dispatch | |
jobs: | |
test-cw-demo: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
- name: Setup playwright | |
run: | | |
npm install | |
npx playwright install --with-deps | |
npx playwright install chrome | |
- name: Test if we can stream | |
run: | | |
$Env:PIXELSTREAMING_URL = 'https://sps.tenant-tensorworks-demo.lga1.ingress.coreweave.cloud/carconfigurator/' | |
npx playwright test | |
- name: Get short sha | |
id: vars | |
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | |
- name: Upload results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Results-${{ steps.vars.outputs.sha_short }}-Linux | |
path: playwright-report |