Skip to content

Commit

Permalink
Merge pull request #893 from galacticcouncil/test/run-regresstion-tes…
Browse files Browse the repository at this point in the history
…ts-in-ci

test: runtime wasm regression tests
  • Loading branch information
mrq1911 authored Aug 23, 2024
2 parents a188be0 + ba16fbe commit 34e1dea
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,30 @@ jobs:
- name: Evaluate result
if: contains(env.VERSION_UPDATE, 'have not been updated') || contains(env.VERSION_UPDATE, 'versions don''t match') || contains(env.VERSION_UPDATE, 'downgraded')
run: exit 1

ecosystem-tests:
needs: build # Make sure this runs after build job to have the wasm artifact
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- name: Checkout polkadot-ecosystem-tests
uses: actions/checkout@v2
with:
repository: galacticcouncil/polkadot-ecosystem-tests
ref: test/add-hydration-tests-ci

- name: Download WASM artifact
uses: actions/download-artifact@v2
with:
name: hydradx_runtime.compact.compressed.wasm

- name: Run ecosystem tests
run: |
# Set the path to the downloaded WASM file
export HYDRADX_RUNTIME_WASM_PATH="$PWD/hydradx_runtime.compact.compressed.wasm"
# Run specific tests doing XCM between hydradx and other parachains
yarn install
yarn test upgrade.test.ts
env:
HYDRADX_RUNTIME_WASM_PATH: ${{ env.HYDRADX_RUNTIME_WASM_PATH }}

0 comments on commit 34e1dea

Please sign in to comment.