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 Jan 14, 2024
1 parent 3d9d978 commit 61eeb8c
Show file tree
Hide file tree
Showing 3 changed files with 16 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
2 changes: 1 addition & 1 deletion tests/e2e/cases/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function test::ci::_start() {
log::info "controller started"
popd
log::info "starting xline cluster"
k8s::kubectl apply -f "$(dirname "${BASH_SOURCE[0]}")/manifests/cluster.yml" >/dev/null 2>&1
k8s::kubectl apply -f "$(dirname "${BASH_SOURCE[0]}")/manifests/cluster.yaml" >/dev/null 2>&1
k8s::kubectl::wait_resource_creation sts $_TEST_CI_STS_NAME
}

Expand Down
File renamed without changes.

0 comments on commit 61eeb8c

Please sign in to comment.