Skip to content

[8.18](backport #43769) [azure-eventhub] Bump sdk/messaging/azeventhubs to 1.3.1 #386

[8.18](backport #43769) [azure-eventhub] Bump sdk/messaging/azeventhubs to 1.3.1

[8.18](backport #43769) [azure-eventhub] Bump sdk/messaging/azeventhubs to 1.3.1 #386

name: xpack-metricbeat-macos-unit-tests
env:
BEAT: "x-pack/metricbeat"
on:
workflow_dispatch:
pull_request:
paths:
- metricbeat/**
- x-pack/metricbeat/**
# OSS
- go.mod
- dev-tools/**
- libbeat/**
# Workflow
- .github/workflows/xpack-metricbeat-macos-unit-tests.yml
- .github/actions/unit-test/action.yml
push:
branches:
- main
paths:
- metricbeat/**
- x-pack/metricbeat/**
# OSS
- go.mod
- dev-tools/**
- libbeat/**
# Workflow
- .github/workflows/xpack-metricbeat-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-push:
name: Unit tests ${{ matrix.os }}
if: github.event_name == 'push'
strategy:
fail-fast: false
matrix:
# Disabled due to: https://github.com/elastic/beats/issues/40496
# TODO uncomment for testing or once solved
os: [ macos-13 ] #, macos-14]
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/unit-test
with:
beat: ${{ env.BEAT }}'
unit-tests-pr:
name: Unit tests macos-15
# Disabled due to: https://github.com/elastic/beats/issues/40496
# TODO: remove the `if: false` and uncomment `if: github.event_name == 'pull_request'`for testing or once solved
if: false
# if: github.event_name == 'pull_request'
runs-on: [macos-15]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/unit-test
with:
beat: ${{ env.BEAT }}