Disable -race mode when running fully parallel tests (#31243)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b7012952c4
Коммит
93aad1d1f0
2
.github/workflows/server-test-template.yml
поставляемый
2
.github/workflows/server-test-template.yml
поставляемый
@@ -59,7 +59,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
BUILD_IMAGE: mattermostdevelopment/mattermost-build-server:${{ steps.go.outputs.GO_VERSION }}
|
BUILD_IMAGE: mattermostdevelopment/mattermost-build-server:${{ steps.go.outputs.GO_VERSION }}
|
||||||
run: |
|
run: |
|
||||||
if [[ ${{ github.ref_name }} == 'master' ]]; then
|
if [[ ${{ github.ref_name }} == 'master' && ${{ inputs.fullyparallel }} != true ]]; then
|
||||||
export RACE_MODE="-race"
|
export RACE_MODE="-race"
|
||||||
fi
|
fi
|
||||||
docker run --net ghactions_mm-test \
|
docker run --net ghactions_mm-test \
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user