Skip to content

Commit

Permalink
CLEANUP/MINOR: tests: use most recent bats in CI on github
Browse files Browse the repository at this point in the history
  • Loading branch information
oktalz committed Sep 6, 2021
1 parent c60fe70 commit 80ea2b4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,19 @@ jobs:
matrix:
haproxy_version: ["2.1", "2.2", "2.3"]
runs-on: ubuntu-latest
env:
BATS_VERSION: v1.4.1
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Downloading required packages
run: sudo apt-get install bats
- name: Set up Go 1.16
run: sudo apt-get install
- name: Install bats
run: git clone https://github.com/bats-core/bats-core.git && cd bats-core && git checkout $BATS_VERSION && sudo ./install.sh /usr/local && cd ..
- name: Set up Go 1.17
uses: actions/setup-go@v1
with:
go-version: 1.16
go-version: 1.17
- run: make e2e
env:
HAPROXY_VERSION: ${{ matrix.haproxy_version }}

0 comments on commit 80ea2b4

Please sign in to comment.