Add navigation to specific test result in artefact pages #1935
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
| name: Test Frontend | |
| on: | |
| push: | |
| branches-ignore: | |
| - 'main' | |
| paths: | |
| - 'frontend/**' | |
| - '.github/workflows/test_frontend.yml' | |
| # Cancel inprogress runs if new commit pushed | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: [self-hosted, linux, large, jammy, x64] | |
| defaults: | |
| run: | |
| working-directory: frontend | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: '3.29.3' | |
| channel: 'stable' | |
| - run: flutter pub get | |
| - run: flutter pub run build_runner build | |
| - run: dart format --set-exit-if-changed lib | |
| - run: flutter analyze | |
| - name: Install Google Chrome | |
| run: | | |
| sudo apt update -y | |
| wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -P /tmp | |
| sudo apt install /tmp/google-chrome-stable_current_amd64.deb -y | |
| - uses: nanasess/setup-chromedriver@v2 | |
| - run: flutter test --platform chrome | |
| - run: chromedriver --port=4444 & | |
| - run: ./run_integration_tests.sh | |
| - run: flutter build web |