-
Notifications
You must be signed in to change notification settings - Fork 5k
54 lines (48 loc) · 1.16 KB
/
filebeat-macos-unit-tests.yml
File metadata and controls
54 lines (48 loc) · 1.16 KB
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
45
46
47
48
49
50
51
52
53
54
name: filebeat-macos-unit-tests
env:
BEAT: "filebeat"
on:
workflow_dispatch:
pull_request:
paths:
- filebeat/**
# OSS
- go.mod
- dev-tools/**
- libbeat/**
# Workflow
- .github/workflows/filebeat-macos-unit-tests.yml
- .github/actions/unit-test/action.yml
push:
branches:
- main
paths:
- filebeat/**
# OSS
- go.mod
- dev-tools/**
- libbeat/**
# Workflow
- .github/workflows/filebeat-macos-unit-tests.yml
- .github/actions/unit-test/action.yml
permissions:
contents: read
## Concurrency only allowed in the main branch.
## So old builds running for old commits within the same Pull Request are cancelled
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
unit-tests:
name: Unit tests ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-15-intel, macos-15]
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/unit-test
with:
beat: ${{ env.BEAT }}