-
Notifications
You must be signed in to change notification settings - Fork 498
34 lines (31 loc) · 905 Bytes
/
go-fbf-test.yml
File metadata and controls
34 lines (31 loc) · 905 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
name: Flaky Build Finder Tests
on:
pull_request:
branches:
- 'main'
paths:
- 'infra/utils/fbf/**'
- '.github/workflows/go-fbf-test.yml'
concurrency:
group: '${{github.workflow}}-${{ github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
unit:
name: ${{ matrix.operating-system }} unit tests
runs-on: ${{ matrix.operating-system }}
defaults:
run:
shell: bash
working-directory: 'infra/utils/fbf'
strategy:
fail-fast: false
matrix:
operating-system: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version-file: infra/utils/fbf/go.mod
cache-dependency-path: infra/utils/fbf/go.sum
- run: |-
go test ./... -v