-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into documentation-fix
- Loading branch information
Showing
11 changed files
with
148 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Codecov | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
collect: | ||
name: collect | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Node | ||
uses: actions/setup-node@v4 | ||
|
||
- name: Install dependencies | ||
run: cd packages/aws-cdk && yarn install | ||
|
||
- name: Build CLI | ||
run: cd packages/aws-cdk && npx lerna run build --scope=aws-cdk | ||
|
||
- name: Run tests | ||
run: cd packages/aws-cdk && yarn test | ||
|
||
- name: Upload results to Codecov | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
directory: packages/aws-cdk/coverage | ||
fail_ci_if_error: true | ||
flags: suite.unit | ||
token: ${{ secrets.CODECOV_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# https://docs.codecov.com/docs/codecovyml-reference#coverage | ||
coverage: | ||
status: | ||
project: | ||
default: | ||
# require the overall project coverage to never decrease | ||
target: auto | ||
patch: | ||
default: | ||
# require the overall patch coverage to be at least 95% | ||
target: 95 | ||
|
||
|
||
# https://docs.codecov.com/docs/codecovyml-reference#comment | ||
comment: | ||
layout: "header, diff, flags, components" | ||
|
||
# https://docs.codecov.com/docs/codecovyml-reference#component_management | ||
component_management: | ||
default_rules: | ||
statuses: | ||
# every component will produce its own status check that requires overall coverage doesnt decrease | ||
- type: project | ||
target: auto | ||
# every component will produce its own status check that requires patch coverage of at least 95% | ||
- type: patch | ||
target: 95 | ||
individual_components: | ||
- component_id: packages_aws_cdk # identifier that should not be changed | ||
name: packages/aws-cdk # display name that can change freely | ||
paths: | ||
- packages/aws-cdk/** |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,12 +63,12 @@ | |
resolved "https://registry.npmjs.org/@aws-cdk/asset-node-proxy-agent-v6/-/asset-node-proxy-agent-v6-2.1.0.tgz#6d3c7860354d4856a7e75375f2f0ecab313b4989" | ||
integrity sha512-7bY3J8GCVxLupn/kNmpPc5VJz8grx+4RKfnnJiO1LG+uxkZfANZG3RMHhE+qQxxwkyQ9/MfPtTpf748UhR425A== | ||
|
||
"@aws-cdk/aws-service-spec@^0.1.31": | ||
version "0.1.31" | ||
resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.1.31.tgz#ba9758fcc6612b12b4ac55cc83c6fdf272d91d47" | ||
integrity sha512-rNVxorA653qon8ArCqL32hpXggk7XdZmHXzGTkLSq8TkYHyuejlbsJO8GCL5I8UvelFwCbGNDCHz+OtZeevZxw== | ||
"@aws-cdk/aws-service-spec@^0.1.32": | ||
version "0.1.32" | ||
resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.1.32.tgz#11cb000107ef8e7d27736de2a4e4a76b5452d48f" | ||
integrity sha512-IaRbCSoplK83syAcccz05hgbW2q2o39qgYoHo9IZSchse9SyTiFjr8BSxHhis4U7LwfT21mXqgnW0JyuzOOqjw== | ||
dependencies: | ||
"@aws-cdk/service-spec-types" "^0.0.98" | ||
"@aws-cdk/service-spec-types" "^0.0.99" | ||
"@cdklabs/tskb" "^0.0.3" | ||
|
||
"@aws-cdk/cloud-assembly-schema@^38.0.1": | ||
|
@@ -129,6 +129,13 @@ | |
dependencies: | ||
"@cdklabs/tskb" "^0.0.3" | ||
|
||
"@aws-cdk/service-spec-types@^0.0.99": | ||
version "0.0.99" | ||
resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.99.tgz#4d7f7ead4bd66268772ad5e534cb6217caa3364a" | ||
integrity sha512-mpTLo2HvTt72TVPMSUBNJ/PoPCT97iMX52NJkw4AJ8Xm45WSOhP0INAYZsIZPdjeM3YJxmWFTAtPQZv5+esQoQ== | ||
dependencies: | ||
"@cdklabs/tskb" "^0.0.3" | ||
|
||
"@aws-crypto/[email protected]": | ||
version "5.2.0" | ||
resolved "https://registry.npmjs.org/@aws-crypto/crc32/-/crc32-5.2.0.tgz#cfcc22570949c98c6689cfcbd2d693d36cdae2e1" | ||
|