-
Notifications
You must be signed in to change notification settings - Fork 305
43 lines (40 loc) · 1.17 KB
/
smoke.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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/[email protected]
- name: Install cometbft binary
run: |
COMETBFT_VERSION="0.37.2"
curl -L -O "https://github.com/cometbft/cometbft/releases/download/v${COMETBFT_VERSION}/cometbft_${COMETBFT_VERSION}_linux_amd64.tar.gz"
tar -xzf "cometbft_${COMETBFT_VERSION}_linux_amd64.tar.gz" cometbft
mkdir -p $HOME/bin
cp cometbft $HOME/bin
echo $PATH
export PATH=$HOME/bin:$PATH
which cometbft
cometbft version
- name: Run the smoke test suite
run: |
export PATH="$HOME/bin:$PATH"
./deployments/scripts/smoke-test.sh
env:
TESTNET_RUNTIME: 2m