Skip to content

Commit

Permalink
Add integration test pinned to tendermint-go v0.33
Browse files Browse the repository at this point in the history
Closes informalsystems#304

Also renames test-integration-ignored to test-integration-latest.

With this change, CI runs two integration tests:

1. A `stable` test to protect against regressions, run against a pinned
version of the tendermint/tendermint docker image.
2. A `latest` test to track whether we're maintaining parity with the
latest development version of tendermint-go.

Signed-off-by: Shon Feder <shon@informal.systems>
  • Loading branch information
Shon Feder committed Jun 15, 2020
1 parent 740cb66 commit 1e3b2fc
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,34 @@ jobs:
command: test
args: --all-features --no-fail-fast

test-integration-ignored:
# TODO(shonfeder): remove duplication once GitHub addresses
# - https://github.saobby.my.eu.orgmunity/t/support-for-yaml-anchors/16128/15, or
# - https://github.saobby.my.eu.orgmunity/t/reusing-sharing-inheriting-steps-between-jobs-declarations/16851/13
test-integration-stable:
runs-on: ubuntu-latest
services:
tendermint:
image: tendermint/tendermint
image: tendermint/tendermint:v0.33.5
ports:
- 26656:26656
- 26657:26657
- 26660:26660
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: -p tendermint --test integration --no-fail-fast -- --ignored

test-integration-latest:
runs-on: ubuntu-latest
services:
tendermint:
image: tendermint/tendermint:latest
ports:
- 26656:26656
- 26657:26657
Expand Down

0 comments on commit 1e3b2fc

Please sign in to comment.