-
Notifications
You must be signed in to change notification settings - Fork 440
44 lines (41 loc) · 1.06 KB
/
main-branch-tests.yml
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
36
37
38
39
40
41
42
43
44
name: Main Branch and Release Tests
on:
workflow_call: # allows to reuse this workflow
inputs:
ref:
description: 'The branch to run the workflow on'
required: true
type: string
push:
branches:
- main
- release-v*
tags-ignore:
- 'contrib/**'
- 'instrumentation/**'
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
unit-integration-tests:
strategy:
matrix:
go-version: [ "1.22", "1.23" ]
fail-fast: false
uses: ./.github/workflows/unit-integration-tests.yml
with:
go-version: ${{ matrix.go-version }}
ref: ${{ inputs.ref || github.ref }}
secrets: inherit
multios-unit-tests:
strategy:
matrix:
runs-on: [ macos-latest, windows-latest, ubuntu-latest ]
go-version: [ "1.22", "1.23" ]
fail-fast: false
uses: ./.github/workflows/multios-unit-tests.yml
with:
go-version: ${{ matrix.go-version }}
runs-on: ${{ matrix.runs-on }}
ref: ${{ inputs.ref || github.ref }}
secrets: inherit