On release tests run only critical paths (#2663)
* In old version release run small package of most important tests * add to releases tests for stocks, warehouses and orders * Update .github/workflows/tests-nightly.yml Co-authored-by: Mika <6186720+NyanKiyoshi@users.noreply.github.com> * remove set-output command * Fix set tags step * Fix for url in release Co-authored-by: Mika <6186720+NyanKiyoshi@users.noreply.github.com>
This commit is contained in:
parent
9ef4d4c6ee
commit
c222657463
2 changed files with 11 additions and 9 deletions
|
@ -54,7 +54,7 @@ program
|
||||||
if (!knownBug) {
|
if (!knownBug) {
|
||||||
failedNewTests.push({
|
failedNewTests.push({
|
||||||
title: testCase.titleParts[1],
|
title: testCase.titleParts[1],
|
||||||
url: issue.url,
|
url: issue.html_url,
|
||||||
spec: testCase.titleParts[0],
|
spec: testCase.titleParts[0],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
18
.github/workflows/tests-nightly.yml
vendored
18
.github/workflows/tests-nightly.yml
vendored
|
@ -212,16 +212,18 @@ jobs:
|
||||||
|
|
||||||
- name: Set tag for tests
|
- name: Set tag for tests
|
||||||
id: set-tag-for-tests
|
id: set-tag-for-tests
|
||||||
|
uses: actions/github-script@v6
|
||||||
env:
|
env:
|
||||||
is_old_version: ${{ needs.get-environment-variables.outputs.is_old_version }}
|
is_old_version: ${{ needs.get-environment-variables.outputs.is_old_version }}
|
||||||
old_version_test_tag: "@oldRelease"
|
with:
|
||||||
new_version_test_tag: "@stable"
|
result-encoding: string
|
||||||
run: |
|
script: |
|
||||||
if [[ $is_old_version == "true" ]]; then
|
const { is_old_version } = process.env
|
||||||
echo "TEST_TAG=$old_version_test_tag" >> $GITHUB_OUTPUT
|
if(is_old_version == "true"){
|
||||||
else
|
return "@oldRelease"
|
||||||
echo "TEST_TAG=$new_version_test_tag" >> $GITHUB_OUTPUT
|
}else{
|
||||||
fi
|
return "@stable"
|
||||||
|
}
|
||||||
|
|
||||||
- name: Cypress run - automatically
|
- name: Cypress run - automatically
|
||||||
id: cypress
|
id: cypress
|
||||||
|
|
Loading…
Reference in a new issue