This commit is contained in:
zomars 2023-02-27 15:59:52 -07:00
parent d27f36f889
commit d8be331679
2 changed files with 6 additions and 4 deletions

View File

@ -4,6 +4,7 @@ on:
jobs:
e2e:
timeout-minutes: 20
name: E2E tests
runs-on: ubuntu-latest
services:
postgres:
@ -22,8 +23,9 @@ jobs:
- uses: ./.github/actions/cache-db
- uses: ./.github/actions/env-read-file
- uses: ./.github/actions/cache-build
- run: yarn e2e
- name: Upload test results
- name: Run Tests
run: yarn test-e2e
- name: Upload Test Results
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:

View File

@ -62,13 +62,13 @@ jobs:
build:
name: Production build
needs: setup
needs: [setup, env]
uses: ./.github/workflows/production-build.yml
secrets: inherit
e2e:
name: E2E tests
needs: [lint, build]
needs: [changes, lint, build]
uses: ./.github/workflows/e2e.yml
secrets: inherit