forked from quic-go/quic-go
fix evalution of DEBUG flag in integration test workflow
This commit is contained in:
4
.github/workflows/integration.yml
vendored
4
.github/workflows/integration.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user