-
Notifications
You must be signed in to change notification settings - Fork 848
Ur test summary python #22091
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
Draft
kekaczma
wants to merge
130
commits into
intel:sycl
Choose a base branch
from
kekaczma:ur-test-summary-python
base: sycl
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Ur test summary python #22091
Changes from all commits
Commits
Show all changes
130 commits
Select commit
Hold shift + click to select a range
e1ab440
[CI][UR] Add detailed test summary reporting to UR conformance tests
kekaczma af576bd
[CI][UR] Add detailed test lists for passed/failed/unsupported tests
kekaczma 4196034
feat(ci): Add comprehensive UR test summary with collapsible sections
kekaczma ccbe962
fix(ci): Improve UR test summary - use code blocks and add debug output
kekaczma d0232d9
Add debug output to investigate test log format
kekaczma 7d7638b
Parse LIT summary statistics for accurate test counts
kekaczma f4ea15e
Add tail debug to see LIT summary in logs
kekaczma d2c1b18
Remove -v from LIT_OPTS to get full test lists instead of verbose per…
kekaczma 2a98284
Use --show-* flags like SYCL E2E to get full test lists
kekaczma 09d48fc
Use --show-* flags consistently in CMakeLists to match SYCL E2E format
kekaczma 96e2082
Wrap test output in collapsible groups
kekaczma da84618
Simplify comments and align step names with original workflow
kekaczma f68cd49
[UR][CI] Improve test logging with statistics and failed tests display
kekaczma bd3f332
[UR][CI] Fix test logging - restore live output and fix AWK patterns.
kekaczma a0a0a51
[UR][CI] Fix shell and add collapsible test output
kekaczma 743f0a8
[UR][CI] Remove redundant Report summary steps.
kekaczma 703cfee
[UR][CI] Refactor to match E2E test reporting pattern
kekaczma 81ee326
[UR][CI] Add composite actions for test execution matching E2E pattern
kekaczma 554d50a
[UR][CI] Add security hardening, fix statistics extraction, and CI va…
kekaczma 0f42d15
[UR][CI] Fix code injection, add collapsed sections for all test cate…
kekaczma 057e52e
[UR][CI] Run ci-validation as part of adapter tests to validate logging
kekaczma e2559a3
[UR][CI] Fix ci-validation to use add_ur_lit_testsuite
kekaczma e27c023
[UR][CI] Use lit.local.cfg.py for ci-validation like other .test suites
kekaczma 19e6924
[UR][CI] Fix test category names and Report failures AWK patterns
kekaczma fe01aa4
[UR][CI] Show full test summary in Report failures like E2E
kekaczma f309004
Move CI validation tests to cuda/ci-validation subdirectory
kekaczma a00d86a
Fix CI validation tests to run together with CUDA tests
kekaczma f31095d
[UR][CI] Convert ci-validation from ShTest to GoogleTest format
kekaczma 7f34e69
Remove duplicate test logging from workflow
kekaczma fa3d1e6
Fix log duplication and Report failures output
kekaczma 761195f
Refactor test summary logic from AWK to Python
kekaczma 64b389a
Use Python script with full log output instead of cutting
kekaczma 31dfcfb
Code quality improvements
kekaczma 6d8135b
Apply darker formatting to ur_test_summary.py
kekaczma 9f685e6
Add GoogleTest SKIPPED tests extraction
kekaczma 82be624
Extract UNSUPPORTED tests from LIT inline output + darker fixes
kekaczma 5da6219
Generate skipped test list for conformance tests
kekaczma 3eee82e
Hide statistics and test lists in full log to avoid duplication
kekaczma 1813d70
Fix SIGPIPE error - use sed instead of awk
kekaczma 979e322
Apply darker formatting fixes
kekaczma 6eec541
Fix sed pattern - use asterisk separator instead of Testing Time
kekaczma 3e9bfa8
Fix skipped tests deduplication - exclude all categories not just Passed
kekaczma 82904bc
Fix skipped test list parsing
kekaczma 7a69983
Extract skipped tests from LIT inline output
kekaczma 859d5f1
Fix test count mismatch and missing test categories
kekaczma 8ab56f7
Fix darker formatting issues
kekaczma f07a2bb
Fix validation to include separately displayed skipped tests
kekaczma 1474106
Fix UnboundLocalError and darker formatting
kekaczma b59e0af
Filter out GoogleTest warnings and errors from test list parsingentri…
kekaczma 7c87931
Fix fallback message for missing skipped tests and add debug output
kekaczma 8b017f3
Add debug output and catch all LIT test categories
kekaczma 77bebfd
Fix SIGPIPE and darker formatting
kekaczma e92974d
Remove --succinct to get per-test output with skipped test names
kekaczma 8570ad5
Fix trailing whitespace in comment
kekaczma 8235cd4
Fix SIGPIPE in main test log pipe chains
kekaczma 7d81302
Ignore SIGPIPE from tee when GitHub Actions closes stdout
kekaczma c23c19f
Remove tee to avoid SIGPIPE completely
kekaczma ed618ba
Show only head/tail of logs to avoid SIGPIPE
kekaczma 8fd35ec
Restore --succinct with XML output for test details
kekaczma 35aff3d
Remove verbose debug output from test listing
kekaczma 443282f
Remove verbose debug info from fallback message (keep validation)
kekaczma 18b69c3
Enable full test lists display by default for adapter-specific (debug…
kekaczma 13bc406
Add XML parsing for skipped tests in GoogleTest format
kekaczma 7d0cafe
Add support for Excluded tests category
kekaczma 003d29a
Add support for Passed With Retry (FLAKYPASS) test category
kekaczma b8a49f7
Add debug output for XML parsing to diagnose missing skipped tests
kekaczma 8a769f4
Fix darker formatting
kekaczma 92bd7b8
Fix XML file path - LIT generates XML in test directory not workspace…
kekaczma 079e221
Add LIT performance and debugging flags to UR tests
kekaczma c823fff
devops: Add artifact upload for UR test logs
kekaczma 0cd0d4a
Add XML security fixes and missing XML argument
kekaczma 8b0ccd0
devops: Fix security scanner warnings in UR test summary
kekaczma 8bff8bc
devops: Add defusedxml to UR test requirements
kekaczma 03a14ed
ci: Enable artifact upload in UR hardware tests
kekaczma 8014caf
devops: Improve artifact handling and add debug logging
kekaczma 8df0f5b
Fix XML path for adapter-specific tests
kekaczma 88a5659
Add support for extracting Excluded tests from XML
kekaczma 493de67
Add test timing summary to GitHub Actions output
kekaczma ca625d7
Fix darker formatting issues in ur_test_summary.py
kekaczma 1e06bba
Fix histogram extraction to stop at section boundary
kekaczma 708e63a
Fix test summary display and add Testing Time
kekaczma e415187
Fix darker formatting - remove trailing whitespace
kekaczma 8da33a8
Remove .venv/ from both .gitignore files
kekaczma ef51ca8
Remove debug output from test action files
kekaczma 0503fe6
Fix XML path resolution for adapter-specific tests
kekaczma a25cf9c
Merge remote-tracking branch 'origin/sycl' into ur-test-summary-python
kekaczma f03251f
Improve adapter-specific test action: remove debug output, skip artif…
kekaczma 5ce77fe
Remove GITHUB_STEP_SUMMARY from UR test actions
kekaczma f187db2
Reduce noise: collapse artifact preparation output
kekaczma 3f05454
Remove empty artifact preparation groups
kekaczma 7ce070c
Add filtered full log display in collapsed section
kekaczma f014989
Make artifact names unique with runner and config suffix
kekaczma 8aa1bca
Update upload-artifact to v7.0.1 and remove notice annotation
kekaczma 61e47d6
Refactor ur_test_summary.py: remove dead code and improve maintainabi…
kekaczma 4182e53
Refactor: split show_statistics_and_lists into focused functions
kekaczma cf3a585
Optimize regex patterns, fix formatting, and security issues
kekaczma 8fb5c5e
refactor: Clean up ur_test_summary.py
kekaczma e810a73
style: Apply black formatting to ur_test_summary.py
kekaczma 7d77919
fix: Remove obsolete all_tests_file parameter from action calls
kekaczma 065c314
refactor: Consolidate actions and remove CI-only boilerplate
kekaczma 44164ee
cleanup: Remove old duplicate action files
kekaczma 33dbf40
refactor: Move bash logic to Python helper
kekaczma 0a868cf
fix: Apply security and code quality improvements
kekaczma 9096dbb
perf: Simplify XML file search
kekaczma 01206b7
perf: Optimize stats parsing with compiled regex
kekaczma 5097048
refactor: Migrate bash logic to Python for UR test execution
kekaczma 797b204
Fix formating, address security issues, fix xml handling
kekaczma 3a9c220
Debug logs for xml
kekaczma 53ee30c
Addinng flush statements to stdout
kekaczma d84fd40
Fix output issues
kekaczma e720781
Fix for output on action fail
kekaczma 9140476
Enable debug logging
kekaczma 2665e8a
Fix formating + debug logs for xml name
kekaczma 61728d3
fox for xml name
kekaczma 7c03037
Extra debug logs to track issue with uploading xml file
kekaczma 2117ad7
Changing name of generated xml file
kekaczma 7590c23
Exit code should be consistent with test results
kekaczma 12cc213
Changes in report failure step - removing redundant statistics
kekaczma 00098e1
format fix + additional logs for xml uppload
kekaczma 2d78d3a
Fix formating, add cuda version check, setting cwd to workspace
kekaczma 15c387c
Adapt validation to accept absolute paths
kekaczma 60118e7
Format fix
kekaczma dfeacf1
changes after review
kekaczma 8797f84
refactor after AI review part 1
kekaczma 6119b02
Split functionallity to smaller scripts
kekaczma dcc1b56
Changes after AI code review part 2
kekaczma 476f8e0
Fix issue with renamed files
kekaczma 055d27a
black formating + updating docstrings
kekaczma 07eea3a
Removing extra prints
kekaczma eaf1e10
Formating + removing backword copmatybility functions
kekaczma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| junitparser==3.2.0 | ||
| google-cloud-storage==3.3.0 | ||
| PyGithub==2.8.1 | ||
| defusedxml==0.7.1 |
This file contains hidden or 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 hidden or 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,127 @@ | ||
| name: 'Run UR Tests' | ||
|
|
||
| inputs: | ||
| test_type: | ||
| description: 'Type of tests to run (adapter-specific or conformance)' | ||
| required: true | ||
| build_dir: | ||
| required: false | ||
| default: 'build' | ||
| artifact_name: | ||
| description: 'Name for uploaded test artifacts (logs, XML)' | ||
| required: false | ||
| default: '' | ||
|
|
||
| runs: | ||
| using: "composite" | ||
| steps: | ||
| - name: Run ${{ inputs.test_type }} tests | ||
| id: run_tests | ||
| continue-on-error: true | ||
| shell: bash | ||
| env: | ||
| BUILD_DIR: ${{ inputs.build_dir }} | ||
| TEST_TYPE: ${{ inputs.test_type }} | ||
| run: | | ||
| # Run tests via unified CLI (handles validation, config, cmake execution) | ||
| # Use temp file instead of command substitution to preserve outputs even on error | ||
| OUTPUTS_FILE=$(mktemp) | ||
| set +e # Don't exit on error | ||
| devops/scripts/ur-test run "$TEST_TYPE" "$BUILD_DIR" "$GITHUB_WORKSPACE" > "$OUTPUTS_FILE" 2>&1 | ||
| EXIT_CODE=$? | ||
| set -e # Re-enable exit on error | ||
|
|
||
| # Parse Python output and set GitHub Actions outputs (not env for security) | ||
| while IFS='=' read -r key value; do | ||
| if [ -n "$key" ] && [ -n "$value" ]; then | ||
| echo "$key=$value" >> $GITHUB_OUTPUT | ||
| echo " Set output: $key=$value" | ||
| fi | ||
| done < <(grep -E "^(log-file|xml-file|skip-artifacts)=" "$OUTPUTS_FILE") | ||
|
|
||
| rm -f "$OUTPUTS_FILE" | ||
| exit $EXIT_CODE | ||
|
|
||
| - name: Filter test log | ||
| if: ${{ always() && steps.run_tests.outputs['skip-artifacts'] != '1' }} | ||
| shell: bash | ||
| env: | ||
| LOG_FILE: ${{ steps.run_tests.outputs['log-file'] || 'adapter_tests.log' }} | ||
| run: | | ||
| if [ ! -f "$LOG_FILE" ]; then | ||
| echo "::warning::Test log not found" | ||
| exit 0 | ||
| fi | ||
|
|
||
| echo "::group::Test Log" | ||
| devops/scripts/ur-test filter-log "$LOG_FILE" || { echo "::error::Filter failed"; head -1000 "$LOG_FILE"; } | ||
| echo "::endgroup::" | ||
|
|
||
| - name: Report test failures | ||
| if: steps.run_tests.outcome != 'success' | ||
| shell: bash | ||
| env: | ||
| LOG_FILE: ${{ steps.run_tests.outputs['log-file'] || 'adapter_tests.log' }} | ||
| run: | | ||
| devops/scripts/ur-test extract-errors "$LOG_FILE" | ||
| exit 1 | ||
|
|
||
| - name: Test summary | ||
| if: ${{ always() && steps.run_tests.outputs['skip-artifacts'] != '1' }} | ||
| shell: bash | ||
| env: | ||
| LOG_FILE: ${{ steps.run_tests.outputs['log-file'] || 'adapter_tests.log' }} | ||
| XML_FILE: ${{ steps.run_tests.outputs['xml-file'] || 'adapter_tests_results.xml' }} | ||
| ARTIFACT_NAME: ${{ inputs.artifact_name }} | ||
| WORKFLOW_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
| run: | | ||
| if [ ! -f "$LOG_FILE" ]; then | ||
| echo "::warning::Test log not found" | ||
| exit 0 | ||
| fi | ||
|
|
||
| if [ ! -s "$LOG_FILE" ]; then | ||
| echo "::warning::Test log is empty" | ||
| exit 0 | ||
| fi | ||
|
|
||
| devops/scripts/ur-test summary "$LOG_FILE" "${XML_FILE:-}" | ||
|
|
||
| # Add link to artifacts if they will be uploaded | ||
| if [ -n "$ARTIFACT_NAME" ]; then | ||
| echo "" | ||
| echo "---" | ||
| echo "" | ||
| echo "Test artifacts (full logs, XML) will be available at:" | ||
| echo "$WORKFLOW_URL" | ||
| fi | ||
|
|
||
| - name: Copy artifacts | ||
| if: ${{ always() && inputs.artifact_name != '' && (inputs.test_type != 'adapter-specific' || steps.run_tests.outputs['skip-artifacts'] != '1') }} | ||
| shell: bash | ||
| env: | ||
| LOG_FILE: ${{ steps.run_tests.outputs['log-file'] || 'adapter_tests.log' }} | ||
| XML_FILE: ${{ steps.run_tests.outputs['xml-file'] || 'adapter_tests_results.xml' }} | ||
| run: | | ||
| set -f # Disable glob expansion | ||
|
|
||
| # Clean artifacts directory to avoid mixing files from different test runs | ||
| rm -rf test_artifacts | ||
| mkdir -p test_artifacts | ||
|
|
||
| if [ -f "$LOG_FILE" ]; then | ||
| cp "$LOG_FILE" test_artifacts/ | ||
| fi | ||
|
|
||
| if [ -n "$XML_FILE" ] && [ -f "$XML_FILE" ]; then | ||
| cp "$XML_FILE" test_artifacts/ | ||
| fi | ||
|
|
||
| - name: Upload test artifacts | ||
| if: ${{ always() && inputs.artifact_name != '' && (inputs.test_type != 'adapter-specific' || steps.run_tests.outputs['skip-artifacts'] != '1') }} | ||
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | ||
| with: | ||
| name: ${{ inputs.artifact_name }} | ||
| path: test_artifacts/ | ||
| retention-days: 7 | ||
| if-no-files-found: warn |
This file contains hidden or 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,8 @@ | ||
| #!/usr/bin/env python3 | ||
| """Unified Runtime test management CLI.""" | ||
|
|
||
| import sys | ||
| from ur_test_tools.cli import main | ||
|
|
||
| if __name__ == "__main__": | ||
| sys.exit(main()) |
This file contains hidden or 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,36 @@ | ||
| """UR Test Tools - Modular test orchestration and summary generation.""" | ||
|
|
||
| __version__ = "1.0.0" | ||
| __author__ = "Unified Runtime Team" | ||
|
|
||
| from .models import ( | ||
| TestLists, | ||
| TestCounts, | ||
| TimingSummary, | ||
| TestConfig, | ||
| SummaryConfigFromLines, | ||
| ) | ||
| from .test_runner import TestRunner | ||
| from .summary_generator import SummaryReporter | ||
| from .validation import ( | ||
| PathValidator, | ||
| ) | ||
| from .outputs import ( | ||
| ConsoleOutput, | ||
| GitHubActionsOutput, | ||
| ) | ||
|
|
||
| __all__ = [ | ||
| "__version__", | ||
| "__author__", | ||
| "TestLists", | ||
| "TestCounts", | ||
| "TimingSummary", | ||
| "TestConfig", | ||
| "SummaryConfigFromLines", | ||
| "TestRunner", | ||
| "SummaryReporter", | ||
| "PathValidator", | ||
| "ConsoleOutput", | ||
| "GitHubActionsOutput", | ||
| ] |
This file contains hidden or 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,151 @@ | ||
| """CLI entry points for UR test tools.""" | ||
|
|
||
| import sys | ||
| import os | ||
| from pathlib import Path | ||
|
|
||
| from .models.config import SummaryConfigFromLines, TestConfig, TestExecutionContext | ||
| from .validation.path_validator import PathValidator | ||
| from .parsers.log_parser import ( | ||
| LITLogParser, | ||
| read_log_file, | ||
| ) | ||
| from .outputs.console import ConsoleOutput | ||
| from .summary_generator import SummaryReporter | ||
| from .test_runner import ( | ||
| TestRunner, | ||
| get_test_config, | ||
| ) | ||
| from .outputs.github_actions import GitHubActionsOutput | ||
|
|
||
|
|
||
| def main() -> int: | ||
| """Unified CLI entry point.""" | ||
| if len(sys.argv) < 2: | ||
| print("Error: Missing command", file=sys.stderr) | ||
| return 1 | ||
|
|
||
| command = sys.argv[1] | ||
|
|
||
| if command == "run": | ||
| return main_ci_utils("run-tests") | ||
|
|
||
| elif command in ("summary", "extract-errors", "filter-log"): | ||
| internal_cmd = "show-summary" if command == "summary" else command | ||
| return main_test_summary(internal_cmd) | ||
|
|
||
| else: | ||
| print(f"Error: Unknown command '{command}'", file=sys.stderr) | ||
| return 1 | ||
|
|
||
|
|
||
| def main_test_summary(command: str) -> int: | ||
| """Entry point for ur_test_summary CLI.""" | ||
| try: | ||
| if len(sys.argv) < 3: | ||
| print( | ||
| f"Error: {sys.argv[0]} <command> <log_file> [xml_file]", | ||
| file=sys.stderr, | ||
| ) | ||
| return 1 | ||
|
|
||
| log_file = sys.argv[2] | ||
| PathValidator.validate_log_path(log_file) | ||
| lines = read_log_file(log_file) | ||
| parser = LITLogParser(lines) | ||
|
|
||
| if command == "extract-errors": | ||
| for line in parser.extract_error_details(): | ||
| print(line, end="") | ||
|
|
||
| elif command == "filter-log": | ||
| for line in ConsoleOutput.filter_log_for_display(lines): | ||
| print(line, end="") | ||
|
|
||
| elif command == "show-summary": | ||
| xml_file = PathValidator.validate_optional_path( | ||
| sys.argv[3] if len(sys.argv) > 3 else "", "XML", allow_absolute=True | ||
| ) | ||
| config = SummaryConfigFromLines( | ||
| log_lines=lines, xml_file=xml_file or None | ||
| ) | ||
| SummaryReporter(config).generate() | ||
|
|
||
| else: | ||
| print(f"Error: Unknown command '{command}'", file=sys.stderr) | ||
| return 1 | ||
|
|
||
| return 0 | ||
|
|
||
| except (OSError, ValueError) as e: | ||
| print(f"Error: {e}", file=sys.stderr) | ||
| return 1 | ||
|
|
||
|
|
||
| def main_ci_utils(command: str) -> int: | ||
| """Entry point for ur_ci_utils CLI.""" | ||
| if command == "run-tests": | ||
| return _run_tests_command() | ||
|
|
||
| else: | ||
| print(f"Error: Unknown command '{command}'", file=sys.stderr) | ||
| return 1 | ||
|
|
||
|
|
||
| def _run_tests_command() -> int: | ||
| """Execute run-tests command.""" | ||
| if len(sys.argv) < 5: | ||
| print( | ||
| f"Error: run-tests <test_type> <build_dir> <workspace>", | ||
| file=sys.stderr, | ||
| ) | ||
| return 1 | ||
|
|
||
| test_type = sys.argv[2] | ||
| build_dir = sys.argv[3] | ||
| workspace = sys.argv[4] | ||
|
|
||
| # Validate inputs | ||
| gha = GitHubActionsOutput() | ||
| if not PathValidator.validate_build_dir(build_dir, workspace): | ||
| gha.print_error("Invalid build_dir") | ||
| return 1 | ||
|
|
||
| try: | ||
| config = get_test_config(test_type) | ||
| except ValueError as e: | ||
| gha.print_error(str(e)) | ||
| return 1 | ||
|
|
||
| # Convert to paths and create context | ||
| workspace_path = Path(workspace).resolve() | ||
| build_dir_path = workspace_path / build_dir | ||
|
|
||
| xml_output_name = f"{test_type.replace('-', '_')}_results.xml" | ||
| xml_output_path = (build_dir_path / xml_output_name).absolute() | ||
| xml_output_path.parent.mkdir(parents=True, exist_ok=True) | ||
|
|
||
| log_file_path = workspace_path / config.log_file | ||
|
|
||
| env = os.environ.copy() | ||
|
|
||
| context = TestExecutionContext( | ||
| test_type=test_type, | ||
| build_dir=build_dir_path, | ||
| workspace=workspace_path, | ||
| xml_output_path=xml_output_path, | ||
| log_file_path=log_file_path, | ||
| config=config, | ||
| env=env, | ||
| ) | ||
|
|
||
| # Validate context | ||
| try: | ||
| context.validate() | ||
| except ValueError as e: | ||
| gha.print_error(str(e)) | ||
| return 1 | ||
|
|
||
| # Run tests | ||
| runner = TestRunner(context) | ||
| return runner.run() |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.