Skip to content

Commit

Permalink
Merge pull request etcd-io#16445 from jmhbnz/complete-actions-contain…
Browse files Browse the repository at this point in the history
…er-migration

Run integration, e2e & grpcproxy tests in container.
  • Loading branch information
serathius authored Aug 21, 2023
2 parents e2e17c7 + 208a74a commit fe1f30e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ permissions: read-all
jobs:
test:
runs-on: ubuntu-latest
container:
image: golang:1.20-bullseye
defaults:
run:
shell: bash
strategy:
fail-fast: true
matrix:
Expand All @@ -13,6 +18,8 @@ jobs:
- linux-386-e2e
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
# https://github.com/actions/checkout/issues/1169
- run: git config --system --add safe.directory '*'
- id: goversion
run: echo "goversion=$(cat .go-version)" >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/grpcproxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ permissions: read-all
jobs:
test:
runs-on: ubuntu-latest
container: golang:1.20-bullseye
defaults:
run:
shell: bash
strategy:
fail-fast: true
matrix:
Expand All @@ -13,6 +17,8 @@ jobs:
- linux-amd64-grpcproxy-e2e
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
# https://github.com/actions/checkout/issues/1169
- run: git config --system --add safe.directory '*'
- id: goversion
run: echo "goversion=$(cat .go-version)" >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ permissions: read-all
jobs:
test:
runs-on: ubuntu-latest
container: golang:1.20-bullseye
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
Expand All @@ -16,6 +20,8 @@ jobs:
- linux-386-unit-1-cpu
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
# https://github.com/actions/checkout/issues/1169
- run: git config --system --add safe.directory '*'
- id: goversion
run: echo "goversion=$(cat .go-version)" >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
Expand Down

0 comments on commit fe1f30e

Please sign in to comment.