Skip to content

Commit

Permalink
ci: test against newer version of etcd and consul
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Jan 24, 2024
1 parent 8d39eca commit 8e53423
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ on:
env:
ETCDCTL_API: "3"
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION: python
ETCD_DOWNLOAD_VERSION: "3.4.24"
CONSUL_VERSION: "1.14.4"
ETCD_TEST_VERSION: "3.4.29" # https://github.com/etcd-io/etcd/releases
CONSUL_TEST_VERSION: "1.17.2" # https://github.com/hashicorp/consul/releases

jobs:
# Run "pytest tests" for various Python versions
Expand Down Expand Up @@ -80,9 +80,9 @@ jobs:
- name: Install etcd, consul
run: |
curl -L https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip > consul.zip
curl -L https://releases.hashicorp.com/consul/${CONSUL_TEST_VERSION}/consul_${CONSUL_TEST_VERSION}_linux_amd64.zip > consul.zip
unzip consul.zip -d ./bin consul
curl -L https://github.com/etcd-io/etcd/releases/download/v${ETCD_DOWNLOAD_VERSION}/etcd-v${ETCD_DOWNLOAD_VERSION}-linux-amd64.tar.gz > etcd.tar.gz
curl -L https://github.com/etcd-io/etcd/releases/download/v${ETCD_TEST_VERSION}/etcd-v${ETCD_TEST_VERSION}-linux-amd64.tar.gz > etcd.tar.gz
tar -xzf etcd.tar.gz -C ./bin --strip-components=1 --wildcards '*/etcd*'
- name: Select tests
Expand Down

0 comments on commit 8e53423

Please sign in to comment.