Skip to content

Commit ff95e1b

Browse files
dmytroyeCopilot
andauthored
[ITEP-71797] Fix All Tests Workflow (#227)
## 📝 Description Fix All Tests Workflow This PR fixes issues and improves efficiency in the All Tests Workflow by adding concurrency controls and updating dependencies. The changes aim to reduce CI costs and resolve dependency conflicts. Added concurrency controls to prevent multiple workflow runs per PR/branch Updated PyYAML dependency specification to resolve version conflicts <!-- If the PR addresses a specific GitHub issue, include one of the following lines to enable auto-closing: Fixes #<issue_number> Closes #<issue_number> If referencing an internal ticket (e.g. JIRA), include the ticket number instead: JIRA: <project-key>-<ticket-number> If there’s no related issue or ticket, you can skip this section. --> ## ✨ Type of Change Select the type of change your PR introduces: - [ ] 🐞 **Bug fix** – Non-breaking change which fixes an issue - [ ] 🚀 **New feature** – Non-breaking change which adds functionality - [ ] 🔨 **Refactor** – Non-breaking change which refactors the code base - [ ] 💥 **Breaking change** – Changes that break existing functionality - [ ] 📚 **Documentation update** - [ ] 🔒 **Security update** - [x] 🧪 **Tests** - [x] 🚂 **CI** ## 🧪 Testing Scenarios Describe how the changes were tested and how reviewers can test them too: - [ ] ✅ Tested manually - [ ] 🤖 Ran automated end-to-end tests ## ✅ Checklist Before submitting the PR, ensure the following: - [ ] 🔍 PR title is clear and descriptive - [ ] 📝 For internal contributors: If applicable, include the JIRA ticket number (e.g., ITEP-123456) in the PR **title**. Do **not** include full URLs - [ ] 💬 I have commented my code, especially in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ✅ I have added tests that prove my fix is effective or my feature works --------- Co-authored-by: Copilot <[email protected]>
1 parent 07e8b58 commit ff95e1b

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.github/resources/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ pyvirtualdisplay == 3.0
1212
opencv-python == 4.12.0.88
1313
setuptools == 75.0.0
1414
xmltodict == 0.12.0
15-
pyyaml == 6.0
15+
PyYAML >=6.0.1,<7.0
1616
pylint [spelling] == 3.3.7
1717
flake8 == 7.3.0

.github/workflows/tests-all.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ on:
3535
# (must be under 'on')
3636
merge_group: {}
3737

38+
# Only run at most 1 workflow concurrently per PR or per branch to keep costs down
39+
concurrency:
40+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
41+
cancel-in-progress: true
42+
3843
env:
3944
DOCKER_BUILDKIT: 1
4045
SUPASS: ${{ secrets.SUPASS }}

.github/workflows/tests-bat.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ on:
3434
# (must be under 'on')
3535
merge_group: {}
3636

37+
# Only run at most 1 workflow concurrently per PR or per branch to keep costs down
38+
concurrency:
39+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
40+
cancel-in-progress: true
41+
3742
env:
3843
DOCKER_BUILDKIT: 1
3944
SUPASS: ${{ secrets.SUPASS }}

0 commit comments

Comments
 (0)