-
Notifications
You must be signed in to change notification settings - Fork 4
50 lines (45 loc) · 1.37 KB
/
post-merge-run.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
name: Test
on:
pull_request:
push:
branches:
- master
env:
REQWEST_TEST_BODY_FULL: 1
RUST_BACKTRACE: 1
jobs:
post-merge-run:
name: Test post merge run
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust || 'stable' }}
targets: ${{ matrix.target }}
- name: Setup docker (missing on MacOS)
if: runner.os == 'macos'
run: |
brew install docker
brew install docker-buildx
- name: Test jq is installed
run: jq --help
- name: Install jwt and add to path
run: cargo install jwt-cli && export PATH=$HOME/.cargo/bin:$PATH
# Vectors are already generated, but this serves as a test
- name: Generate vectors
run: bash ./scripts/generate_test_vectors_nethermind.sh
# Test vectors against nethermind
- name: Apply vectors to Nethermind
run: bash ./scripts/apply_test_vectors_nethermind.sh
# Test vectors against Reth
- name: Apply vectors to Reth
run: bash ./scripts/apply_test_vectors_reth.sh