-
Notifications
You must be signed in to change notification settings - Fork 48
81 lines (80 loc) · 2.26 KB
/
nightly-e2e-ci-tests.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#
# We want to fail fast but we don't want platform specific issues to impact other workflows.
# So we extracted the tests into 3 separate jobs, one for each platform.
#
name: Nightly E2E tests (default branch)
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch: {}
jobs:
against-real-network-on-linux:
timeout-minutes: 125
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
# https://github.com/shelljs/shelljs/issues/1133
node: [18, 20]
os: [ubuntu-latest]
services:
mina-local-network:
image: o1labs/mina-local-network:o1js-main-latest-lightnet
env:
NETWORK_TYPE: 'single-node'
PROOF_LEVEL: 'none'
ports:
- 3085:3085
- 5432:5432
- 8080:8080
- 8181:8181
volumes:
- /tmp:/root/logs
steps:
- name: Wait for Mina network readiness
uses: o1-labs/wait-for-mina-network-action@v1
with:
mina-graphql-port: 8080
max-attempts: 60
polling-interval-ms: 10000
- uses: actions/checkout@v4
- name: Use shared E2E testing steps
uses: ./.github/actions/e2e-shared
with:
node-version: ${{ matrix.node }}
os-type: ${{ matrix.os }}
shell: bash
against-mocked-network-on-macos:
timeout-minutes: 95
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
# https://github.com/shelljs/shelljs/issues/1133
node: [18, 20]
os: [macos-latest]
steps:
- uses: actions/checkout@v4
- name: Use shared E2E testing steps
uses: ./.github/actions/e2e-shared
with:
node-version: ${{ matrix.node }}
os-type: ${{ matrix.os }}
shell: bash
against-mocked-network-on-windows:
timeout-minutes: 95
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
# https://github.com/shelljs/shelljs/issues/1133
node: [18, 20]
os: [windows-latest]
steps:
- uses: actions/checkout@v4
- name: Use shared E2E testing steps
uses: ./.github/actions/e2e-shared
with:
node-version: ${{ matrix.node }}
os-type: ${{ matrix.os }}
shell: powershell