This repository was archived by the owner on Jan 16, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 213
90 lines (77 loc) · 2.52 KB
/
Copy pathacceptance-tests.yaml
File metadata and controls
90 lines (77 loc) · 2.52 KB
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
82
83
84
85
86
87
name: Acceptance Tests
on:
push:
branches: [main]
merge_group:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
acceptance-tests:
runs-on: ubuntu-latest
timeout-minutes: 40
name: ${{ matrix.devnet-config }}-sysgo-tests
strategy:
fail-fast: false
matrix:
devnet-config: [op-node-op-reth, kona-node-op-geth, kona-node-op-reth]
include:
- devnet-config: op-node-op-reth
client: op-node
engine: op-reth
- devnet-config: kona-node-op-geth
client: kona
engine: op-geth
- devnet-config: kona-node-op-reth
client: kona
engine: op-reth
steps:
- name: Checkout sources
uses: actions/checkout@v5
with:
submodules: true
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
large-packages: false
- uses: ./.github/actions/setup
with:
channel: stable
components: llvm-tools-preview
- uses: taiki-e/install-action@just
- uses: taiki-e/install-action@cargo-llvm-cov
- uses: jdx/mise-action@v3 # installs Mise + runs `mise install`
- name: Setup Go 1.23.8
uses: actions/setup-go@v5
with:
# Semantic version range syntax or exact version of Go
go-version: '1.23.8'
cache-dependency-path: |
tests/go.sum
tests/optimism/go.sum
- name: acceptance tests for ${{ matrix.devnet-config }}
run: |
if [ "${{ matrix.engine }}" = "op-reth" ]; then
echo "Building op-reth..."
just build-reth
fi
if [ "${{ matrix.client }}" = "kona" ]; then
echo "Building kona-node..."
source <(cargo llvm-cov show-env --export-prefix)
just build-kona
fi
just acceptance-tests-run "${{ matrix.client }}" "${{ matrix.engine }}"
if [ "${{ matrix.client }}" = "kona" ]; then
cargo llvm-cov report --lcov --output-path "acceptance_tests_${{ matrix.devnet-config }}.lcov"
fi
- name: Upload coverage to codecov.io
if: ${{ matrix.client == 'kona' }}
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
files: acceptance_tests_${{ matrix.devnet-config }}.lcov
flags: e2e
env_vars: OS,RUST
name: node-sysgo-tests-common
verbose: true