Running nctl test in sidecar repo #587
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: ci-casper-event-sidecar | |
on: | |
push: | |
branches: | |
- "dev" | |
- "feat-*" | |
- "rc-*" | |
- "nctl-extracted-sidecar" | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: | |
- "dev" | |
paths-ignore: | |
- '**.md' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_and_test: | |
strategy: | |
matrix: | |
os: [ubuntu-22.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b #v3.0.2 | |
with: | |
path: /home/runner/work/event-sidecar/event-sidecar/event-sidecar | |
- uses: actions/checkout@master | |
with: | |
repository: zajko/casper-node | |
ref: refs/heads/nctl-extracted-sidecar | |
path: /home/runner/work/event-sidecar/event-sidecar/casper-node | |
- uses: actions/checkout@master | |
with: | |
repository: casper-ecosystem/casper-client-rs | |
ref: refs/heads/feat-track-node-2.0 | |
path: /home/runner/work/event-sidecar/event-sidecar/casper-client-rs | |
- uses: actions/checkout@master | |
with: | |
repository: casper-network/casper-node-launcher | |
ref: refs/heads/main | |
path: /home/runner/work/event-sidecar/event-sidecar/casper-client-rs | |
- name: compile | |
run: | | |
python -m pip install --upgrade pip | |
python3 -m pip install supervisor | |
python3 -m pip install toml tomlkit | |
bash -c "cachepot() { echo 'cachepot called' ; } && export -f cachepot && /home/runner/work/event-sidecar/event-sidecar/casper-node/ci/nightly-test.sh" | |
- uses: Swatinem/rust-cache@6720f05bc48b77f96918929a9019fb2203ff71f8 | |
with: | |
shared-key: ${{ matrix.os }} | |
- name: update toolchain | |
run: rustup update |