Look up swap from local storage in planner based on commitment #5204
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: Smoke Test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
smoke_test: | |
runs-on: buildjet-16vcpu-ubuntu-2004 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
environment: smoke-test | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
lfs: true | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
- name: Load rust cache | |
uses: astriaorg/buildjet-rust-cache@v2.5.1 | |
- name: Install tendermint binary | |
run: | | |
curl -L -O "https://github.com/tendermint/tendermint/releases/download/v0.34.24/tendermint_0.34.24_linux_amd64.tar.gz" | |
tar xzf tendermint_0.34.24_linux_amd64.tar.gz tendermint | |
mkdir -p $HOME/bin | |
cp tendermint $HOME/bin | |
echo $PATH | |
export PATH=$HOME/bin:$PATH | |
which tendermint | |
# The point of these was to do compilation upfront, doesn't seem to be effective | |
#- name: Build `pd` | |
# uses: actions-rs/cargo@v1 | |
# with: | |
# command: build | |
# args: --release --package pd | |
#- name: Build `pcli` tests | |
# uses: actions-rs/cargo@v1 | |
# with: | |
# command: test | |
# args: --release --features sct-divergence-check --package pcli --no-run | |
- name: Run the smoke test suite | |
run: | | |
export PATH=$HOME/bin:$PATH | |
./deployments/scripts/smoke-test.sh | |
env: | |
TESTNET_RUNTIME: 2m |