-
Notifications
You must be signed in to change notification settings - Fork 50
46 lines (38 loc) · 1.32 KB
/
compliance.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
36
37
38
39
40
41
42
43
44
45
46
on:
push:
branches:
- main
pull_request:
name: compliance
jobs:
compliance:
runs-on: ubuntu-latest
steps:
- run: curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 -
- run: pip install jq yq
- run: sudo apt install -y libxml2-utils
- name: Checkout Rundler
uses: actions/checkout@v4
with:
path: rundler
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: "nightly-fe2acca4e379793539db80e032d76ffe0110298b"
- uses: KengoTODA/actions-setup-docker-compose@v1
with:
version: '2.14.2'
- name: Clone Test Executor
uses: actions/checkout@v4
with:
path: bundler-test-executors
repository: alchemyplatform/bundler-test-executor
ref: master
submodules: recursive
- name: Build rundler image locally
run: docker buildx build ./rundler -t alchemyplatform/rundler:latest
- name: Run bundle executor
run: ./bundler-test-executors/runall.sh local ./bundler-test-executors/bundlers/rundler/rundler.yml
- name: Parse spec results
run: ./rundler/.github/scripts/compliance_parser.sh ./bundler-test-executors/build/out/rundler.xml