Skip to content

Conversation

@jannowotsch
Copy link
Contributor

Extend run_all_tests.sh to support running tests on either the main or test workspace.
Add one github action to run tests for each workspace.

@github-actions
Copy link

github-actions bot commented Dec 12, 2025

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
INFO: Invocation ID: 651ff6cf-5e83-4371-aa2f-29c937e6195c
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 2 packages loaded
Analyzing: target //:license-check (3 packages loaded, 0 targets configured)
Analyzing: target //:license-check (3 packages loaded, 0 targets configured)

Analyzing: target //:license-check (65 packages loaded, 10 targets configured)

Analyzing: target //:license-check (79 packages loaded, 200 targets configured)

Analyzing: target //:license-check (119 packages loaded, 1805 targets configured)

Analyzing: target //:license-check (128 packages loaded, 2370 targets configured)

Analyzing: target //:license-check (128 packages loaded, 2370 targets configured)

Analyzing: target //:license-check (130 packages loaded, 4379 targets configured)

INFO: Analyzed target //:license-check (132 packages loaded, 4626 targets configured).
[8 / 13] checking cached actions
[11 / 13] checking cached actions
[11 / 13] [Prepa] JavaToolchainCompileBootClasspath external/rules_java~/toolchains/platformclasspath.jar
[12 / 13] [Prepa] Building license.check.license_check.jar ()
INFO: Found 1 target...
Target //:license.check.license_check up-to-date:
  bazel-bin/license.check.license_check
  bazel-bin/license.check.license_check.jar
INFO: Elapsed time: 19.733s, Critical Path: 1.17s
INFO: 13 processes: 3 disk cache hit, 9 internal, 1 processwrapper-sandbox.
INFO: Build completed successfully, 13 total actions
INFO: Running command line: bazel-bin/license.check.license_check ./formatted.txt -review -project automotive.score -repo https://github.com/eclipse-score/bazel-tools-python -token
usage: org.eclipse.dash.licenses.cli.Main [-batch <int>] [-cd <url>]
       [-confidence <int>] [-ef <url>] [-excludeSources <sources>] [-help] [-lic
       <url>] [-project <shortname>] [-repo <url>] [-review] [-summary <file>]
       [-timeout <seconds>] [-token <token>]

Make the shebang the first line of run_all_tests, which actually makes
it to have an effect.

Before the shebang was moved to after the copyright header by the S-Core
copyright header check. Since that check has been fixed to accept
something else than the copyright header at the top of the file, the
shebang can be moved to the correct place.
Extend run_all_tests to support an optional argument that allows to
select which tests to run, either all, only tests in the main workspace
or only tests in the test workspace.

This shall help to reduce the CI resource usage. In particular the
amount of disk storage needed, if only either of the test workspaces is
executed on a separate CI node.
Add github actions to run tests in the main and test workspace.
@jannowotsch jannowotsch force-pushed the github-action-run-all-tests branch from c6efc17 to 767e77e Compare December 12, 2025 10:17
@antonkri antonkri self-requested a review December 12, 2025 10:25
@antonkri antonkri merged commit 3ad3a74 into eclipse-score:main Dec 12, 2025
6 of 9 checks passed
@jannowotsch jannowotsch deleted the github-action-run-all-tests branch December 18, 2025 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants