forked from docker/model-runner
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (27 loc) · 838 Bytes
/
Copy pathintegration-test.yml
File metadata and controls
35 lines (27 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Integration Tests
on:
workflow_dispatch: # Manual trigger only
pull_request:
branches: [ main ]
push:
permissions:
contents: read
jobs:
integration-test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Load GO version
id: versions
uses: ./.github/actions/load-go-version
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c
with:
go-version: ${{ steps.versions.outputs.go-version }}
cache: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
- name: Run integration tests
run: make integration-tests