Skip to content

test

test #1

name: xpack-auditbeat-macos-unit-tests
env:
BEAT: "x-pack/auditbeat"
on:
workflow_dispatch:
pull_request:
push:
branches:
- test/gh-runners-macos
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-push:
name: Unit tests ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-13, macos-14]
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/unit-tests
unit-tests-pr:
name: Unit tests macos-15
runs-on: [macos-15]
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/unit-tests