cargo updated #917
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Triggered via !ci-test-basic tag | |
name: Check basic integration | |
on: | |
pull_request: | |
types: [labeled, unlabeled, opened, reopened, synchronize] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-basic: | |
runs-on: [self-hosted, integration] | |
if: ${{ contains(github.event.pull_request.labels.*.name,'!ci-test-basic') }} | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Configure sccache env for Rust | |
run: | | |
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV | |
- name: Run sccache-cache | |
uses: mozilla-actions/[email protected] | |
- name: Build dev containers | |
run: | | |
./scripts/build_docker.sh | |
- name: Setup containers | |
run: | | |
docker compose --profile ethereum up -d | |
- name: Setup chain | |
run: | | |
docker compose run --rm --remove-orphans tester --network '3;ws://ethereum:8545' set-shard-config 1 1 | |
docker compose run --rm --remove-orphans tester --network '3;ws://ethereum:8545' fund-wallet | |
- name: Run EvmViewCall task | |
timeout-minutes: 15 | |
run: | | |
sleep 10 | |
docker compose run --rm --remove-orphans tester --network '3;ws://ethereum:8545' --network '3;ws://ethereum:8545' test basic | |
- name: Run GMP tests | |
timeout-minutes: 15 | |
run: | | |
sleep 10 | |
docker compose run --rm --remove-orphans tester --network '3;ws://ethereum:8545' --network '3;ws://ethereum:8545' test gmp | |
- name: Cleanup | |
if: ${{ always() }} | |
run: | | |
docker compose --profile "*" down |