-
Notifications
You must be signed in to change notification settings - Fork 407
83 lines (77 loc) · 2.45 KB
/
Copy pathapm-capabilities.yml
File metadata and controls
83 lines (77 loc) · 2.45 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: APM Capabilities
on:
pull_request:
push:
branches: [master, mq-working-branch-master-*]
schedule:
- cron: 0 4 * * *
workflow_dispatch:
inputs:
latest-version:
description: "Node version to use"
required: false
type: string
concurrency:
group: ${{ github.workflow }}-${{ inputs.latest-version }}-${{ github.ref == 'refs/heads/master' && github.run_id || github.ref }}
cancel-in-progress: true
env:
LATEST_VERSION: ${{ inputs.latest-version }}
jobs:
tracing-macos:
runs-on: macos-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/node/latest
- uses: ./.github/actions/install
- run: npm run test:trace:core:ci
- uses: ./.github/actions/coverage
with:
flags: apm-capabilities-tracing-macos
- uses: ./.github/actions/upload-junit-artifacts
if: "!cancelled()"
with:
id: ${{ github.job }}
tracing-ubuntu:
runs-on: ubuntu-latest
permissions:
id-token: write
strategy:
fail-fast: false
matrix:
node-version: [oldest, maintenance, active, latest]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/node
with:
version: ${{ matrix.node-version }}
- uses: ./.github/actions/install
- run: npm run test:trace:core:ci
- uses: ./.github/actions/coverage
with:
flags: apm-capabilities-tracing-ubuntu-${{ matrix.node-version }}
- uses: ./.github/actions/upload-junit-artifacts
if: "!cancelled()"
with:
id: ${{ github.job }}-${{ strategy.job-index }}
tracing-windows:
runs-on: windows-2022
permissions:
id-token: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/node
with:
version: 24.14.1 # TODO: remove pin when https://github.com/nodejs/node/issues/62991 is fixed
- uses: ./.github/actions/install
- run: npm run test:trace:core:ci
- uses: ./.github/actions/node-crash-report
if: failure()
- uses: ./.github/actions/coverage
with:
flags: apm-capabilities-tracing-windows
- uses: ./.github/actions/upload-junit-artifacts
if: "!cancelled()"
with:
id: ${{ github.job }}