diff --git a/actions/winccoa-ctrl-test-framework-runner/README.md b/actions/winccoa-ctrl-test-framework-runner/README.md index 1831275..bf3bd78 100644 --- a/actions/winccoa-ctrl-test-framework-runner/README.md +++ b/actions/winccoa-ctrl-test-framework-runner/README.md @@ -8,7 +8,7 @@ Executes WinCC OA tests using the WinCC OA TestFramework with automatic jUnit re | ------- | ---------- | --------- | ------------- | | `winccoa-test-path` | yes | - | Path to the test sources based on WinCC OA TestFramework struct (e.g., `tests/WinCC_OA_Test`) | | `test-run-id` | yes | - | Unique test run identifier (e.g., `Squirt-regression`) | -| `languages` | yes | - | Test languages, space-separated full locale names (e.g., `en_US.utf8 de_AT.utf8`) | +| `languages` | yes | - | Test languages input retained for compatibility; registration currently uses `en_US.utf8` | | `winccoa-version` | yes | - | WinCC OA version (e.g., `3.21`) | | `upload-artifacts` | no | `true` | Upload failed tests and results as artifacts | | `publish-junit-report` | no | `true` | Publish jUnit report as GitHub check | @@ -32,13 +32,12 @@ No outputs planned now. with: winccoa-test-path: tests/WinCC_OA_Test test-run-id: Squirt-regression - languages: en_US.utf8 de_AT.utf8 + languages: en_US.utf8 winccoa-version: 3.21 Notes: - See the action `skills.md` for developer guidance: [actions/winccoa-ctrl-test-framework-runner/skills.md](actions/winccoa-ctrl-test-framework-runner/skills.md) - Setup uses [actions/winccoa-register-project](actions/winccoa-register-project/action.yml) to create and register the test project; the action accepts `sub-projects` as a newline-separated input. - - Setup uses [actions/winccoa-register-project](actions/winccoa-register-project/action.yml) to create and register the test project; the action accepts `sub-projects` as a newline-separated input. Optional inputs: - `parse-results` (default `false`) — set to `true` to parse jUnit results and populate action outputs. Leave `false` for very large test suites to avoid long parse times. diff --git a/actions/winccoa-ctrl-test-framework-runner/action.yml b/actions/winccoa-ctrl-test-framework-runner/action.yml index 6900942..5e345da 100644 --- a/actions/winccoa-ctrl-test-framework-runner/action.yml +++ b/actions/winccoa-ctrl-test-framework-runner/action.yml @@ -12,7 +12,7 @@ inputs: required: true languages: - description: "Test languages, space-separated full locale names (e.g., en_US.utf8 de_AT.utf8)" + description: "Test languages input (registration currently uses en_US.utf8)" required: true winccoa-version: @@ -85,12 +85,7 @@ runs: run: | set -euo pipefail - LANGS="$(printf '%s\n' "${{ inputs.languages }}" | tr '\n' ' ' | xargs | tr ' ' ',')" - - if [ -z "${LANGS}" ]; then - echo "::error::languages resolved to an empty list" - exit 2 - fi + LANGS="en_US.utf8" npx --yes @winccoa-tools-pack/npm-winccoa-register-project@1.1.1 \ --project-path "${GITHUB_WORKSPACE}/${{ inputs.winccoa-test-path }}/Projects/TfCustomizedSquirt" \