The absent block must be put into the waiting list even though it is in the local store. #9742
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
name: Build and Test | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- dag-master | |
jobs: | |
build-and-test: | |
name: build and test | |
runs-on: self-hosted | |
timeout-minutes: 120 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v1 | |
with: | |
submodules: recursive | |
- name: run fmt check | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: -- --check | |
- name: setup environment | |
run: bash ./scripts/dev_setup.sh -b -t -y -m | |
- name: run cargo clean | |
uses: actions-rs/cargo@v1 | |
with: | |
command: clean | |
- name: run cargo check | |
uses: actions-rs/cargo@v1 | |
env: | |
RUSTFLAGS: -Wclippy::use_self -D warnings | |
with: | |
command: clippy | |
args: --all-targets | |
- name: build | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --all | |
- name: test | |
run: ./scripts/nextest.sh | |
# - name: check changed files | |
# run: bash ./scripts/changed_files.sh | |
- name: Doc Tests | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --doc | |
- name: integration test dev environment | |
env: | |
RUST_LOG: info | |
RUST_BACKTRACE: full | |
STARCOIN_WS: ${{ secrets.STARCOIN_WS }} | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --test integration -- -e cmd |