You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pull-e2e-tests.yml 953B

12345678910111213141516171819202122232425262728293031323334
  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. if: needs.files-changed.outputs.backend == 'true' || needs.files-changed.outputs.frontend == 'true' || needs.files-changed.outputs.actions == 'true'
  12. needs: files-changed
  13. runs-on: ubuntu-latest
  14. steps:
  15. - uses: actions/checkout@v4
  16. - uses: actions/setup-go@v5
  17. with:
  18. go-version-file: go.mod
  19. check-latest: true
  20. - uses: actions/setup-node@v4
  21. with:
  22. node-version: 20
  23. cache: npm
  24. cache-dependency-path: package-lock.json
  25. - run: make deps-frontend frontend deps-backend
  26. - run: npx playwright install --with-deps
  27. - run: make test-e2e-sqlite
  28. timeout-minutes: 40
  29. env:
  30. USE_REPO_TEST_DIR: 1