-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 948 Bytes
/
run-e2e.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: run-e2e
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
schedule:
- cron: 0 0 * * 0
workflow_dispatch:
jobs:
run-e2e:
name: Run E2E tests.
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/setup
- name: Set proxy certificates
run: mkdir ssl && openssl req -x509 -newkey rsa:4096 -keyout ssl/localhost.key.pem -out ssl/localhost.cert.pem -sha256 -days 3650 -nodes -subj "/CN=Dev proxy certificate"
working-directory: ./packages/backend/tools/backend-dev-proxy
- name: Start services with e2e config
run: pnpm run start:e2e
- name: Run e2e tests
run: pnpm run test:e2e:js
env:
ONE_JS_TEST_E2E_DOT_ENV_PATH: e2e.env
- name: Remove services with e2e config
run: pnpm run close:e2e