Skip to content

Commit

Permalink
move sidecar test to own task
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Aug 20, 2023
1 parent bf91870 commit f49e715
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,38 @@ jobs:
- run: yarn lint
- run: yarn build
- run: yarn test
- name: Test substrate-api-sidecard with chopsticks node
if: ${{ github.ref_name == 'master' }}

sidecar:
if: ${{ github.ref_name == 'master' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
executor/target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2022-10-30
components: rustfmt
target: wasm32-unknown-unknown
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'yarn'
- run: yarn --immutable
- run: yarn check
- run: yarn build-wasm
- name: Test Sidecar
run: yarn workspace @acala-network/chopsticks-e2e run sidecar

playwright:
Expand Down

0 comments on commit f49e715

Please sign in to comment.