Skip to content

Commit

Permalink
ci: run test in ci process
Browse files Browse the repository at this point in the history
Signed-off-by: Phoeniix Zhao <[email protected]>
  • Loading branch information
Phoenix500526 committed Dec 21, 2023
1 parent fa9b51a commit 6830231
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,21 @@ jobs:
with:
version: v1.54.2

test:
name: Xline Operator Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{env.GO_VERSION}}

- name: Build and test
run: make test

commit:
name: Commit Message Validation
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion tests/e2e/cases/manifests/cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ kind: XlineCluster
metadata:
name: my-xline-cluster
spec:
version: v0.6.0
version: v0.6.1
# TODO: Replace this image repo with ghcr.io when Xline 0.6.1 is ready
image: phoenix500526/xline
imagePullPolicy: IfNotPresent
replicas: 3

0 comments on commit 6830231

Please sign in to comment.