From 5a07dab0b52ec21959b088216977eafa6357fdaf Mon Sep 17 00:00:00 2001 From: Andy Date: Tue, 17 Sep 2024 15:28:27 -0400 Subject: [PATCH] fix: add compliance_v06 workflow to run v06 spec test. (#798) --- .github/workflows/compliance_v06.yaml | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/compliance_v06.yaml diff --git a/.github/workflows/compliance_v06.yaml b/.github/workflows/compliance_v06.yaml new file mode 100644 index 00000000..39c68812 --- /dev/null +++ b/.github/workflows/compliance_v06.yaml @@ -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