Skip to content

Commit 973c15e

Browse files
authored
ci: split service tests into a separate workflow
* split off make test to separate workflow * split service test to different make target * fix workflow name * renamed target * updated workflow * fix repo checkout
1 parent 07550e1 commit 973c15e

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

.github/workflows/service-test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
---
5+
6+
name: Run service tests
7+
8+
on:
9+
pull_request:
10+
branches:
11+
- main
12+
- release-*
13+
workflow_dispatch:
14+
15+
jobs:
16+
integration-smoke-test:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout orch ci
20+
uses: actions/checkout@v4
21+
with:
22+
ref: ${{ github.head_ref }}
23+
24+
- name: Bootstrap CI environment
25+
uses: open-edge-platform/orch-ci/.github/actions/bootstrap@main
26+
with:
27+
gh_token: ${{ secrets.SYS_ORCH_GITHUB }}
28+
29+
- name: Run service test
30+
run: make run-service-test

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,11 @@ vet: ## Run go vet against code.
141141
go vet ./...
142142

143143
.PHONY: test
144-
test: clusterctl ## Run all tests.
144+
test: ## Run unit tests.
145145
make test-unit
146+
147+
.PHONY: run-service-test
148+
run-service-test: clusterctl ## Run service tests.
146149
make kind-create
147150
make helm-install
148151
make kind-expose-cm

0 commit comments

Comments
 (0)