Skip to content

Create ng-dev ci gather-test-results command #239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ commands:
steps:
- run:
name: Copy JUnit test reports to central folder for upload
command: node .circleci/copy-junit-reports.js
command: yarn -s ng-dev ci gather-test-results
when: always
- store_test_results:
path: ./test-results
Expand Down
99 changes: 0 additions & 99 deletions .circleci/copy-junit-reports.js

This file was deleted.

9 changes: 8 additions & 1 deletion .ng-dev/commit-message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ export const commitMessage: CommitMessageConfig = {
maxLineLength: Infinity,
minBodyLength: 0,
scopes: [
...buildScopesFor('bazel', ['api-golden', 'benchmark', 'browsers', 'remote-execution']),
...buildScopesFor('bazel', [
'api-golden',
'benchmark',
'browsers',
'protos',
'remote-execution',
]),
...buildScopesFor('github-actions', [
'breaking-changes-label',
'feature-request',
Expand All @@ -18,6 +24,7 @@ export const commitMessage: CommitMessageConfig = {
'rerun-circleci',
]),
...buildScopesFor('ng-dev', [
'ci',
'caretaker',
'commit-message',
'format',
Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
bazel/protos/*.d.ts
bazel/protos/*.js
github-actions/feature-request/post.js
github-actions/feature-request/main.js
github-actions/lock-closed/main.js
Expand Down
8 changes: 7 additions & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ workspace(
managed_directories = {"@npm": ["node_modules"]},
)

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")

# Fetch rules_nodejs so we can install our npm dependencies
http_archive(
Expand Down Expand Up @@ -46,3 +46,9 @@ register_toolchains(
"//tools/git-toolchain:git_macos_arm64_toolchain",
"//tools/git-toolchain:git_windows_toolchain",
)

http_file(
name = "bazel_test_status_proto",
sha256 = "61ce1dc62fdcfd6d68624a403e0f04c5fd5136d933b681467aad1ad2d00dbb03",
urls = ["https://raw.githubusercontent.com/bazelbuild/bazel/4.2.1/src/main/protobuf/test_status.proto"],
)
6 changes: 6 additions & 0 deletions bazel/protos/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
load("//tools:generate_ts_proto_module.bzl", "generate_ts_proto_module")

generate_ts_proto_module(
name = "test_status",
protofile = "@bazel_test_status_proto//file",
)
Loading