Skip to content

Merge branch 'main' into feature/github-pages-flow #245

Merge branch 'main' into feature/github-pages-flow

Merge branch 'main' into feature/github-pages-flow #245

name: Smoke E2E tests
on:
push:
pull_request:
workflow_dispatch: {}
jobs:
against-real-network-on-linux:
timeout-minutes: 30
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
test-script: 'npm run e2e:test:smoke'
artifacts-prefix: 'smoke-e2e-tests'