Skip to content

Commit 1abbc3c

Browse files
PiotrKorkuspawelrutkaq
authored andcommitted
readme update and workflow
1 parent 3c2f758 commit 1abbc3c

4 files changed

Lines changed: 48 additions & 2 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# *******************************************************************************
2+
# Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) distributed with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made available under the
8+
# terms of the Apache License Version 2.0 which is available at
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# *******************************************************************************
13+
name: Internal Tooling Tests
14+
on:
15+
pull_request:
16+
types: [opened, reopened, synchronize]
17+
push:
18+
branches:
19+
- main
20+
21+
jobs:
22+
internal_tests:
23+
uses: eclipse-score/cicd-workflows/.github/workflows/tests.yml@main
24+
with:
25+
bazel-target: "//scripts/tooling_tests"

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,8 @@ local_path_override(module_name = "score_tooling", path = "../tooling")
171171
### Rust
172172

173173
Use `scripts/generate_rust_analyzer_support.sh` to generate rust_analyzer settings that will let VS Code work.
174+
175+
## Internal tooling
176+
177+
Internal tooling scripts are currently under development to provide user single point of interaction with all
178+
created goods. More detailed readme can be found in scripts: [Tooling README](scripts/tooling/README.md)

scripts/tooling/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@
66
bazel run //scripts/tooling -- --help
77
```
88

9+
```bash
10+
bazel run //scripts/tooling -- misc --help
11+
```
12+
13+
## Creating HTML report
14+
15+
```bash
16+
bazel run //scripts/tooling -- misc html_report --output /home/pawel/score/repos/reference_integration/report.html
17+
```
18+
19+
## Running tests
20+
21+
```bash
22+
bazel test //scripts/tooling_tests
23+
```
24+
925
## Updating dependencies
1026

1127
Update a list of requirements in [requirements.in](requirements.in) file and then

scripts/tooling/lib/html_report.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
import json
1818
from pathlib import Path
19-
from typing import Any, Dict, List
19+
from typing import Any
2020

2121
from jinja2 import Environment, FileSystemLoader, select_autoescape
2222

@@ -29,7 +29,7 @@
2929
)
3030

3131

32-
def _collect_entries(known_good: KnownGood) -> List[Dict[str, Any]]:
32+
def _collect_entries(known_good: KnownGood) -> list[dict[str, Any]]:
3333
entries = []
3434
for group_name, group_modules in known_good.modules.items():
3535
for module in group_modules.values():

0 commit comments

Comments
 (0)