Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Separate job for E2E testing #16

Merged
merged 2 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 28 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
pull_request:
paths:
- "charts/**"
- "e2e/**"
- "tests/**"

permissions:
contents: read
Expand Down Expand Up @@ -130,14 +132,38 @@ jobs:
with:
version: v1.61

- name: Run go test
run: go test -v ./tests/...

e2e-test:
name: e2e-test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup helm
uses: azure/setup-helm@v3
with:
version: v3.6.3

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: stable

- name: Create kind cluster
uses: helm/[email protected]
with:
node_image: kindest/node:v1.29.2
version: v0.20.0

- name: Run go test
run: go test -v ./...
- name: Run e2e test
# The timeout is explicitly set to clarify that we intend it to be short enough
# and not uncontrollably getting longer.
run: go test -v ./e2e/... -timeout 5m

install-chart:
name: install-chart
Expand Down
File renamed without changes.
Loading