Skip to content

Commit

Permalink
fix: add compliance_v06 workflow to run v06 spec test. (#798)
Browse files Browse the repository at this point in the history
  • Loading branch information
andysim3d authored Sep 17, 2024
1 parent e951cf6 commit 5a07dab
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/compliance_v06.yaml
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

0 comments on commit 5a07dab

Please sign in to comment.