Skip to content

Commit

Permalink
all: Drop Protocol 18 integration tests from GHAs. (#4803)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic authored Mar 9, 2023
1 parent cf9b50a commit 3a725b0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/horizon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
go: [1.19.6, 1.20.1]
pg: [9.6.5]
ingestion-backend: [db, captive-core, captive-core-remote-storage]
protocol-version: [18, 19]
protocol-version: [19]
runs-on: ${{ matrix.os }}
services:
postgres:
Expand All @@ -36,8 +36,6 @@ jobs:
HORIZON_INTEGRATION_TESTS_CORE_MAX_SUPPORTED_PROTOCOL: ${{ matrix.protocol-version }}
PROTOCOL_19_CORE_DEBIAN_PKG_VERSION: 19.8.0-1227.040a29c51.focal
PROTOCOL_19_CORE_DOCKER_IMG: stellar/stellar-core:19.8.0-1227.040a29c51.focal
PROTOCOL_18_CORE_DEBIAN_PKG_VERSION: 19.8.0-1227.040a29c51.focal
PROTOCOL_18_CORE_DOCKER_IMG: stellar/stellar-core:19.8.0-1227.040a29c51.focal
PGHOST: localhost
PGPORT: 5432
PGUSER: postgres
Expand Down Expand Up @@ -79,7 +77,7 @@ jobs:
# libc++1-8 won't be installed if another version is installed (but apt won't give you a helpul
# message about why the installation fails)
sudo apt-get remove -y libc++1-10 libc++abi1-10 || true
sudo wget -qO - https://apt.stellar.org/SDF.asc | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=true sudo apt-key add -
sudo bash -c 'echo "deb https://apt.stellar.org focal unstable" > /etc/apt/sources.list.d/SDF-unstable.list'
sudo apt-get update && sudo apt-get install -y stellar-core="$PROTOCOL_${{ matrix.protocol-version }}_CORE_DEBIAN_PKG_VERSION"
Expand All @@ -101,7 +99,7 @@ jobs:
uses: actions/cache@v3
with:
path: ./empty
key: horizon-hash-${{ hashFiles('./horizon') }}-${{ hashFiles('./clients/horizonclient/**') }}-${{ hashFiles('./protocols/horizon/**') }}-${{ hashFiles('./txnbuild/**') }}-${{ hashFiles('./services/horizon/internal/integration/**') }}-${{ env.PROTOCOL_19_CORE_DOCKER_IMG }}-${{ env.PROTOCOL_18_CORE_DOCKER_IMG }}
key: horizon-hash-${{ hashFiles('./horizon') }}-${{ hashFiles('./clients/horizonclient/**') }}-${{ hashFiles('./protocols/horizon/**') }}-${{ hashFiles('./txnbuild/**') }}-${{ hashFiles('./services/horizon/internal/integration/**') }}-${{ env.PROTOCOL_19_CORE_DOCKER_IMG }}

- if: ${{ steps.horizon_binary_tests_hash.outputs.cache-hit != 'true' }}
run: go test -race -timeout 35m -v ./services/horizon/internal/integration/...
Expand Down

0 comments on commit 3a725b0

Please sign in to comment.