Skip to content

Commit 2b73996

Browse files
committed
ci: simplify integration test workflow to use Makefile
Signed-off-by: Dorin Geman <[email protected]>
1 parent 61324ba commit 2b73996

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.github/workflows/integration-test.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
jobs:
88
integration-test:
99
runs-on: ubuntu-latest
10-
timeout-minutes: 5
11-
10+
timeout-minutes: 10
11+
1212
steps:
1313
- name: Checkout code
1414
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
@@ -18,20 +18,9 @@ jobs:
1818
with:
1919
go-version: 1.24.2
2020
cache: true
21-
21+
2222
- name: Set up Docker Buildx
2323
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435
24-
25-
- name: Build Docker image
26-
run: make docker-build
27-
env:
28-
DOCKER_BUILDKIT: 1
29-
30-
- name: Verify Docker image
31-
run: docker images | grep docker/model-runner
32-
24+
3325
- name: Run integration tests
34-
working-directory: cmd/cli/commands
35-
run: go test -v -tags=integration -timeout=5m -run TestIntegration_PullModel
36-
env:
37-
CGO_ENABLED: 1
26+
run: make integration-tests

0 commit comments

Comments
 (0)