From 22603d0c527ee8579310b76d0a9443412f5b2818 Mon Sep 17 00:00:00 2001 From: Richard Kenigs <18597956+Rihyx@users.noreply.github.com> Date: Wed, 14 Aug 2024 14:46:06 +0200 Subject: [PATCH] fix acceptance tests and make them run on push (#324) * change acceptance test to run on all branches * add changeset --- .changeset/eight-insects-warn.md | 5 +++++ .github/workflows/acceptance.yml | 6 +----- .../sdk/tests/acceptance/__snapshots__/sdk.test.ts.snap | 7 +++++++ 3 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 .changeset/eight-insects-warn.md diff --git a/.changeset/eight-insects-warn.md b/.changeset/eight-insects-warn.md new file mode 100644 index 00000000..c854c826 --- /dev/null +++ b/.changeset/eight-insects-warn.md @@ -0,0 +1,5 @@ +--- +'@moonbeam-network/xcm-sdk': patch +--- + +Fix acceptance tests and make them run on every push diff --git a/.github/workflows/acceptance.yml b/.github/workflows/acceptance.yml index 5ee43cef..27f9ad9f 100644 --- a/.github/workflows/acceptance.yml +++ b/.github/workflows/acceptance.yml @@ -1,10 +1,6 @@ name: acceptance -on: - push: - branches: - - main - workflow_dispatch: +on: push concurrency: ${{ github.workflow }}-${{ github.ref }} diff --git a/packages/sdk/tests/acceptance/__snapshots__/sdk.test.ts.snap b/packages/sdk/tests/acceptance/__snapshots__/sdk.test.ts.snap index e2e8497a..a6cf46de 100644 --- a/packages/sdk/tests/acceptance/__snapshots__/sdk.test.ts.snap +++ b/packages/sdk/tests/acceptance/__snapshots__/sdk.test.ts.snap @@ -448,6 +448,13 @@ exports[`sdk > getParachainBalances > on 'Moonbeam' for address: '0x4E82143Af671 "originSymbol": "NCTR", "symbol": "NCTR", }, + a { + "amount": 0n, + "decimals": 10, + "key": "wifd", + "originSymbol": "WIFD", + "symbol": "WIFD", + }, a { "amount": 0n, "decimals": 10,