Skip to content

Commit c74c583

Browse files
Adding integration tests as a pre requirement for releases (#1755)
* Adding integration tests as a pre-req for release * Adding integration tests as a pre-req for release
1 parent 59ff4a8 commit c74c583

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,29 @@ on:
66
- 'v[1-9].[0-9]+.[0-9]+'
77

88
jobs:
9+
integration-tests:
10+
name: 'Integration Tests'
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, macos-latest]
14+
runs-on: ${{ matrix.os }}
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Install Go
22+
uses: actions/setup-go@v4
23+
with:
24+
go-version: 1.24.x
25+
26+
- name: Run integration tests
27+
run: make test_integration
28+
929
github-release:
1030
name: 'GitHub Release'
31+
needs: integration-tests
1132
runs-on: 'ubuntu-latest'
1233
steps:
1334
- name: Checkout code
@@ -40,6 +61,7 @@ jobs:
4061

4162
snapcraft-stable:
4263
name: 'Snapcraft: Stable Release'
64+
needs: integration-tests
4365
runs-on: 'ubuntu-latest'
4466
steps:
4567
- name: Checkout code

0 commit comments

Comments
 (0)