Skip to content

Commit

Permalink
chore: Enabled quiet mode for CI runs (newrelic#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners-nr authored Apr 16, 2024
1 parent 095d04f commit 52f1989
Show file tree
Hide file tree
Showing 6 changed files with 402 additions and 134 deletions.
4 changes: 4 additions & 0 deletions merged/nextjs/.github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Next.js Instrumentation CI

on: [push, pull_request, workflow_dispatch]

env:
# Enable versioned runner quiet mode to make CI output easier to read:
OUTPUT_MODE: quiet

jobs:
lint:
runs-on: ubuntu-latest
Expand Down
18 changes: 9 additions & 9 deletions merged/nextjs/THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ code, the source code can be found at [https://github.com/newrelic/newrelic-node

### semver

This product includes source derived from [semver](https://github.com/npm/node-semver) ([v7.5.4](https://github.com/npm/node-semver/tree/v7.5.4)), distributed under the [ISC License](https://github.com/npm/node-semver/blob/v7.5.4/LICENSE):
This product includes source derived from [semver](https://github.com/npm/node-semver) ([v7.6.0](https://github.com/npm/node-semver/tree/v7.6.0)), distributed under the [ISC License](https://github.com/npm/node-semver/blob/v7.6.0/LICENSE):

```
The ISC License
Expand Down Expand Up @@ -477,7 +477,7 @@ This product includes source derived from [@newrelic/newrelic-oss-cli](https://g

### @newrelic/test-utilities

This product includes source derived from [@newrelic/test-utilities](https://github.com/newrelic/node-test-utilities) ([v8.1.0](https://github.com/newrelic/node-test-utilities/tree/v8.1.0)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-test-utilities/blob/v8.1.0/LICENSE):
This product includes source derived from [@newrelic/test-utilities](https://github.com/newrelic/node-test-utilities) ([v8.5.0](https://github.com/newrelic/node-test-utilities/tree/v8.5.0)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-test-utilities/blob/v8.5.0/LICENSE):

```
Apache License
Expand Down Expand Up @@ -686,7 +686,7 @@ This product includes source derived from [@newrelic/test-utilities](https://git

### c8

This product includes source derived from [c8](https://github.com/bcoe/c8) ([v7.12.0](https://github.com/bcoe/c8/tree/v7.12.0)), distributed under the [ISC License](https://github.com/bcoe/c8/blob/v7.12.0/LICENSE.txt):
This product includes source derived from [c8](https://github.com/bcoe/c8) ([v7.14.0](https://github.com/bcoe/c8/tree/v7.14.0)), distributed under the [ISC License](https://github.com/bcoe/c8/blob/v7.14.0/LICENSE.txt):

```
Copyright (c) 2017, Contributors
Expand All @@ -708,7 +708,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

### husky

This product includes source derived from [husky](https://github.com/typicode/husky) ([v8.0.1](https://github.com/typicode/husky/tree/v8.0.1)), distributed under the [MIT License](https://github.com/typicode/husky/blob/v8.0.1/LICENSE):
This product includes source derived from [husky](https://github.com/typicode/husky) ([v8.0.3](https://github.com/typicode/husky/tree/v8.0.3)), distributed under the [MIT License](https://github.com/typicode/husky/blob/v8.0.3/LICENSE):

```
MIT License
Expand Down Expand Up @@ -766,7 +766,7 @@ SOFTWARE.

### lockfile-lint

This product includes source derived from [lockfile-lint](https://github.com/lirantal/lockfile-lint) ([v4.9.6](https://github.com/lirantal/lockfile-lint/tree/v4.9.6)), distributed under the [Apache-2.0 License](https://github.com/lirantal/lockfile-lint/blob/v4.9.6/LICENSE):
This product includes source derived from [lockfile-lint](https://github.com/lirantal/lockfile-lint) ([v4.13.2](https://github.com/lirantal/lockfile-lint/tree/v4.13.2)), distributed under the [Apache-2.0 License](https://github.com/lirantal/lockfile-lint/blob/v4.13.2/LICENSE):

```
Expand Down Expand Up @@ -964,7 +964,7 @@ This product includes source derived from [lockfile-lint](https://github.com/lir

### newrelic

This product includes source derived from [newrelic](https://github.com/newrelic/node-newrelic) ([v11.5.0](https://github.com/newrelic/node-newrelic/tree/v11.5.0)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-newrelic/blob/v11.5.0/LICENSE):
This product includes source derived from [newrelic](https://github.com/newrelic/node-newrelic) ([v11.15.0](https://github.com/newrelic/node-newrelic/tree/v11.15.0)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-newrelic/blob/v11.15.0/LICENSE):

```
Apache License
Expand Down Expand Up @@ -1172,7 +1172,7 @@ This product includes source derived from [newrelic](https://github.com/newrelic

### sinon

This product includes source derived from [sinon](https://github.com/sinonjs/sinon) ([v14.0.1](https://github.com/sinonjs/sinon/tree/v14.0.1)), distributed under the [BSD-3-Clause License](https://github.com/sinonjs/sinon/blob/v14.0.1/LICENSE):
This product includes source derived from [sinon](https://github.com/sinonjs/sinon) ([v14.0.2](https://github.com/sinonjs/sinon/tree/v14.0.2)), distributed under the [BSD-3-Clause License](https://github.com/sinonjs/sinon/blob/v14.0.2/LICENSE):

```
(The BSD License)
Expand Down Expand Up @@ -1207,12 +1207,12 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

### tap

This product includes source derived from [tap](https://github.com/tapjs/node-tap) ([v16.3.0](https://github.com/tapjs/node-tap/tree/v16.3.0)), distributed under the [ISC License](https://github.com/tapjs/node-tap/blob/v16.3.0/LICENSE):
This product includes source derived from [tap](https://github.com/tapjs/node-tap) ([v16.3.10](https://github.com/tapjs/node-tap/tree/v16.3.10)), distributed under the [ISC License](https://github.com/tapjs/node-tap/blob/v16.3.10/LICENSE):

```
The ISC License
Copyright (c) 2011-2022 Isaac Z. Schlueter and Contributors
Copyright (c) 2011-2023 Isaac Z. Schlueter and Contributors
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
Expand Down
14 changes: 14 additions & 0 deletions merged/nextjs/bin/run-versioned-tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#! /bin/bash

set -x
VERSIONED_MODE="${VERSIONED_MODE:---minor}"
SAMPLES="${SAMPLES:-15}"
C8_REPORTER="${C8_REPORTER:-lcov}"

C8="c8 -o ./coverage/versioned --merge-async -r $C8_REPORTER"

# OUTPUT_MODE maps to `--print` of the versioned-tests runner.
# Known values are "simple", "pretty", and "quiet".
OUTPUT_MODE="${OUTPUT_MODE:-pretty}"

$C8 ./node_modules/.bin/versioned-tests $VERSIONED_MODE --print $OUTPUT_MODE --samples $SAMPLES --all -i 2 'tests/versioned/*.tap.js'
Loading

0 comments on commit 52f1989

Please sign in to comment.