-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add compliance_v06 workflow to run v06 spec test. (#798)
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
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 | ||
|
||
- 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: releases/v0.6 | ||
|
||
- 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 |