-
Notifications
You must be signed in to change notification settings - Fork 9
Add QA workflow for OneUnit testing #50
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # С тестированием OneUnit | ||
| name: Контроль качества | ||
|
|
||
| on: | ||
| push: | ||
| pull_request: | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| sonar: | ||
| uses: autumn-library/workflows/.github/workflows/sonar.yml@main | ||
| with: | ||
| coveralls: true | ||
| github_repository: oscript-library/ovm | ||
| oscript_version: 'dev' | ||
| test_engine: 'oneunit' | ||
| secrets: | ||
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,4 +14,4 @@ sonar.sources=./src | |
| # Encoding of the source code. Default is default system encoding | ||
| sonar.sourceEncoding=UTF-8 | ||
|
|
||
| sonar.coverageReportPaths=coverage/genericCoverage.xml | ||
| sonar.coverageReportPaths=out/genericCoverage.xml | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: # Search for references to the old coverage path
rg 'coverage/genericCoverage\.xml' --type-list | head -20Repository: oscript-library/ovm Length of output: 452 🏁 Script executed: # Search for any references to coverage/genericCoverage in the entire codebase
rg 'coverage/genericCoverage' -iRepository: oscript-library/ovm Length of output: 135 🏁 Script executed: # Look for workflow files to verify new configuration
find .github -name "*.yaml" -o -name "*.yml" 2>/dev/null | head -20Repository: oscript-library/ovm Length of output: 148 🏁 Script executed: # Check if qa.yaml exists and inspect its configuration
cat .github/workflows/qa.yaml 2>/dev/null || echo "File not found"Repository: oscript-library/ovm Length of output: 441 🏁 Script executed: # Also check for sonar.yml to understand the coverage report configuration
cat .github/workflows/sonar.yml 2>/dev/null || echo "File not found"Repository: oscript-library/ovm Length of output: 77 🏁 Script executed: # Search for any other references to coverage path in config files
rg 'genericCoverage' -t yaml -t yml -t propertiesRepository: oscript-library/ovm Length of output: 90 🏁 Script executed: # Search for all references to coverage in the codebase
rg 'coverage' --type-add 'config:*.{yaml,yml,properties}' -tconfig -tpython -tjsRepository: oscript-library/ovm Length of output: 93 🏁 Script executed: # Check the tasks/coverage.os file to understand how it generates coverage
cat tasks/coverage.osRepository: oscript-library/ovm Length of output: 2093 🏁 Script executed: # Search for out/ directory references in workflow or config files
rg 'out/genericCoverage' -iRepository: oscript-library/ovm Length of output: 137 🏁 Script executed: # Check if there are other script files that might be handling coverage
find . -name "*.os" -o -name "*.bat" -o -name "*.sh" | grep -i coverageRepository: oscript-library/ovm Length of output: 82 🏁 Script executed: # Look for configuration that might specify output directories
rg 'coverageReportPaths|coverage.*report|out.*coverage' -iRepository: oscript-library/ovm Length of output: 137 🏁 Script executed: # Check for file copy/move operations in workflow files
rg 'cp|mv|copy|move' .github/workflows/ -iRepository: oscript-library/ovm Length of output: 45 🏁 Script executed: # Look for any script that might handle the coverage output directory
rg 'out.*coverage|coverage.*out' -iRepository: oscript-library/ovm Length of output: 137 🏁 Script executed: # Check if there's a build script or setup that creates out directory
find . -name "build*" -o -name "setup*" -o -name "Makefile" 2>/dev/nullRepository: oscript-library/ovm Length of output: 45 🏁 Script executed: # Search for any reference to out/ directory in the entire repo
rg 'out/' --type yaml --type properties -B2 -A2Repository: oscript-library/ovm Length of output: 97 Исправьте путь генерации отчёта покрытия в соответствии с новой конфигурацией. Обнаружено несоответствие: файл Требуется обновить 🤖 Prompt for AI Agents |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is trailing whitespace at the end of this line. Trailing whitespace should be removed to maintain clean code formatting.