fix evalution of DEBUG flag in integration test workflow

This commit is contained in:
Marten Seemann
2021-03-16 23:12:27 +08:00
parent 522cad0ba8
commit cc59aa0d2e

View File

@@ -23,7 +23,7 @@ jobs:
- name: Install dependencies
run: go install
- name: set qlogger
if: ${{ env.DEBUG }}
if: env.DEBUG == 'true'
run: echo "QLOGFLAG=-- -qlog" >> $GITHUB_ENV
- name: Run tests
run: |
@@ -36,7 +36,7 @@ jobs:
ginkgo -r -v -randomizeAllSpecs -randomizeSuites -trace -skipPackage self integrationtests
ginkgo -r -v -randomizeAllSpecs -randomizeSuites -trace integrationtests/self ${{ env.QLOGFLAG }}
- name: save qlogs
if: ${{ always() && env.DEBUG }}
if: ${{ always() && env.DEBUG == 'true' }}
uses: actions/upload-artifact@v2
with:
name: qlogs