Skip to content

chore: Add xcm test scripts #343

chore: Add xcm test scripts

chore: Add xcm test scripts #343

Workflow file for this run

# The Licensed Work is (c) 2022 Sygma
# SPDX-License-Identifier: LGPL-3.0-only
name: Test
on:
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
cargo-test:
name: Run cargo test
runs-on: ubuntu-22.04
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master # https://github.com/easimon/maximize-build-space
with:
root-reserve-mb: 4096
temp-reserve-mb: 1024
swap-size-mb: 8192
remove-dotnet: "true"
remove-android: "true"
remove-haskell: "true"
- uses: actions/checkout@v3
with:
submodules: "true"
- uses: ./.github/actions/install_toolchain
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace
- name: Show disk usage
if: always()
run: df -h