Implement bezier curve trajectories with jitter, overshoot, and click visualization for demo video mouse movements #113
This file contains hidden or 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
| on: | |
| pull_request_target: # Use pull_request_target | |
| branches: [master, beta, release] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/thomasnordquist/mqtt-explorer-ui-tests:latest | |
| volumes: | |
| - ./:/app | |
| options: --user root | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Packages | |
| run: yarn install --frozen-lockfile | |
| - name: Build | |
| run: yarn build | |
| - name: Test | |
| run: yarn test | |
| ui-tests: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/thomasnordquist/mqtt-explorer-ui-tests:latest | |
| volumes: | |
| - ./:/app | |
| options: --user root | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Packages | |
| run: yarn install --frozen-lockfile | |
| - name: Build | |
| run: yarn build | |
| - name: Run UI Tests | |
| run: ./scripts/runUiTests.sh | |
| - name: Upload Test Screenshots | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ui-test-screenshots | |
| path: | | |
| test-screenshot-*.png | |
| retention-days: 30 | |
| demo-video: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/thomasnordquist/mqtt-explorer-ui-tests:latest | |
| volumes: | |
| - ./:/app | |
| options: --user root | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Packages | |
| run: yarn install --frozen-lockfile | |
| - name: Build | |
| run: yarn build | |
| - name: Generate Demo Video | |
| run: yarn ui-test | |
| - name: Post-processing | |
| run: ./scripts/prepareVideo.sh | |
| - uses: hkusu/s3-upload-action@v2 | |
| id: upload # specify some ID for use in subsequent steps | |
| with: | |
| aws-access-key-id: ${{ vars.AWS_KEY_ID }} | |
| aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
| aws-region: 'eu-central-1' | |
| aws-bucket: ${{ vars.AWS_BUCKET }} | |
| file-path: './ui-test.gif' | |
| content-type: image/gif | |
| output-file-url: 'true' | |
| - name: Show URL | |
| run: echo '${{ steps.upload.outputs.file-url }}' | |
| id: artifact-upload-step | |
| - run: echo '<picture><img src="${{ steps.upload.outputs.file-url }}"></picture>' >> $GITHUB_STEP_SUMMARY |