-
Notifications
You must be signed in to change notification settings - Fork 225
72 lines (67 loc) · 2.14 KB
/
edge.yml
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
---
name: edge
# The "Edge Test" is a run of the agent test suite with pre-release builds
# of node.js, if available and useful. "Pre-release" builds are release
# candidate (RC) and "nightly" node.js builds.
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- '**/**.md'
- '**/**.asciidoc'
- 'docs/**'
- 'examples/**'
# limit the access of the generated GITHUB_TOKEN
permissions:
contents: read
jobs:
# The node.js project produces "nightly" builds of the tip of *some*
# development branches. They get uploaded to:
# https://nodejs.org/download/nightly/
#
# My observation is that nightly builds are only made for the next major
# version *up to the point there is a release of that version*. For example,
# at time of writing, there is not yet a v17 release of node, and
# "v17.0.0-nightly*" builds are being created. Once a v17.0.0 release has been
# made, these will stop and there will be no value in testing v17 nightlies.
#
test-nightly:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
node: [ "21" ]
contextManager: [ 'patch', '' ]
steps:
- uses: actions/checkout@v3
- run: .ci/scripts/test.sh -b "nightly" "${{ matrix.node }}"
env:
ELASTIC_APM_CONTEXT_MANAGER: ${{ matrix.contextManager }}
# This should list all the Node.js major versions listed at
# https://nodejs.org/en/about/releases/, plus the next version (for which
# nightlies are currently being built).
#
# The node.js project *sometimes* produces "rc" builds leading up to a new
# release. They get uploaded to: https://nodejs.org/download/rc/
test-rc:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
node:
- "21"
- "20"
- "19"
- "18"
- "16"
contextManager: [ 'patch', '' ]
steps:
- uses: actions/checkout@v3
- run: .ci/scripts/test.sh -b "rc" "${{ matrix.node }}"
env:
VERSION: ${{ matrix.node }}
ELASTIC_APM_CONTEXT_MANAGER: ${{ matrix.contextManager }}