gitea源码

pull-e2e-tests.yml 1022B

123456789101112131415161718192021222324252627282930313233343536
  1. name: e2e-tests
  2. on:
  3. pull_request:
  4. concurrency:
  5. group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
  6. cancel-in-progress: true
  7. jobs:
  8. files-changed:
  9. uses: ./.github/workflows/files-changed.yml
  10. test-e2e:
  11. # the "test-e2e" won't pass, and it seems that there is no useful test, so skip
  12. # if: needs.files-changed.outputs.backend == 'true' || needs.files-changed.outputs.frontend == 'true' || needs.files-changed.outputs.actions == 'true'
  13. if: false
  14. needs: files-changed
  15. runs-on: ubuntu-latest
  16. steps:
  17. - uses: actions/checkout@v4
  18. - uses: actions/setup-go@v5
  19. with:
  20. go-version-file: go.mod
  21. check-latest: true
  22. - uses: pnpm/action-setup@v4
  23. - uses: actions/setup-node@v5
  24. with:
  25. node-version: 24
  26. - run: make deps-frontend frontend deps-backend
  27. - run: pnpm exec playwright install --with-deps
  28. - run: make test-e2e-sqlite
  29. timeout-minutes: 40
  30. env:
  31. USE_REPO_TEST_DIR: 1