code.gitea.io/gitea@v1.21.7/.github/workflows/pull-e2e-tests.yml (about) 1 name: e2e-tests 2 3 on: 4 pull_request: 5 6 concurrency: 7 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} 8 cancel-in-progress: true 9 10 jobs: 11 files-changed: 12 uses: ./.github/workflows/files-changed.yml 13 14 test-e2e: 15 if: needs.files-changed.outputs.backend == 'true' || needs.files-changed.outputs.frontend == 'true' || needs.files-changed.outputs.actions == 'true' 16 needs: files-changed 17 runs-on: ubuntu-latest 18 steps: 19 - uses: actions/checkout@v4 20 - uses: actions/setup-go@v4 21 with: 22 go-version: "~1.21" 23 check-latest: true 24 - uses: actions/setup-node@v3 25 with: 26 node-version: 20 27 - run: make deps-frontend frontend deps-backend 28 - run: npx playwright install --with-deps 29 - run: make test-e2e-sqlite 30 timeout-minutes: 40 31 env: 32 USE_REPO_TEST_DIR: 1