code.gitea.io/gitea@v1.22.3/.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@v5 21 with: 22 go-version-file: go.mod 23 check-latest: true 24 - uses: actions/setup-node@v4 25 with: 26 node-version: 20 27 cache: npm 28 cache-dependency-path: package-lock.json 29 - run: make deps-frontend frontend deps-backend 30 - run: npx playwright install --with-deps 31 - run: make test-e2e-sqlite 32 timeout-minutes: 40 33 env: 34 USE_REPO_TEST_DIR: 1