Skip to content

Commit

Permalink
Enable e2e test in github action (#86)
Browse files Browse the repository at this point in the history
Signed-off-by: clyang82 <chuyang@redhat.com>
  • Loading branch information
clyang82 authored May 16, 2024
1 parent a35d649 commit 72419fb
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: E2E Test

on:
workflow_dispatch: {}
pull_request:
branches:
- main
push:
branches:
- main

env:
GO_VERSION: '1.21'
GO_REQUIRED_MIN_VERSION: ''

permissions:
contents: read

jobs:
e2e:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Setup kind
uses: engineerd/setup-kind@v0.5.0
with:
version: v0.17.0
- name: install ginkgo
run: go install github.com/onsi/ginkgo/v2/ginkgo@v2.15.0
- name: Test E2E
run: |
make e2e-test

0 comments on commit 72419fb

Please sign in to comment.