From 6c622540a0e642f934ab23e8f7ce8ce54afcc314 Mon Sep 17 00:00:00 2001 From: Romain Ruetschi Date: Fri, 10 Jul 2020 12:17:08 +0200 Subject: [PATCH] Isolate integration test jobs per crate --- .github/workflows/rust.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 10a9820cd..2c368a4bb 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -65,7 +65,7 @@ jobs: # - https://github.community/t/support-for-yaml-anchors/16128/15 # - https://github.community/t/reusing-sharing-inheriting-steps-between-jobs-declarations/16851/13 # - https://github.community/t/using-matrix-variable-in-docker-image-name/17296 - test-integration-stable: + test-integration-tendermint-stable: runs-on: ubuntu-latest services: tendermint: @@ -84,6 +84,26 @@ jobs: with: command: test args: -p tendermint --test integration --no-fail-fast -- --ignored + + # TODO(shonfeder): remove duplication once GitHub addresses one of these + # - https://github.community/t/support-for-yaml-anchors/16128/15 + # - https://github.community/t/reusing-sharing-inheriting-steps-between-jobs-declarations/16851/13 + # - https://github.community/t/using-matrix-variable-in-docker-image-name/17296 + test-integration-light-client-stable: + runs-on: ubuntu-latest + services: + 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