forked from quic-go/quic-go
Merge pull request #3095 from lucas-clemente/fix-integration-test-debug-flag
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
|
- name: Install dependencies
|
||||||
run: go install
|
run: go install
|
||||||
- name: set qlogger
|
- name: set qlogger
|
||||||
if: ${{ env.DEBUG }}
|
if: env.DEBUG == 'true'
|
||||||
run: echo "QLOGFLAG=-- -qlog" >> $GITHUB_ENV
|
run: echo "QLOGFLAG=-- -qlog" >> $GITHUB_ENV
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
ginkgo -r -v -randomizeAllSpecs -randomizeSuites -trace -skipPackage self integrationtests
|
ginkgo -r -v -randomizeAllSpecs -randomizeSuites -trace -skipPackage self integrationtests
|
||||||
ginkgo -r -v -randomizeAllSpecs -randomizeSuites -trace integrationtests/self ${{ env.QLOGFLAG }}
|
ginkgo -r -v -randomizeAllSpecs -randomizeSuites -trace integrationtests/self ${{ env.QLOGFLAG }}
|
||||||
- name: save qlogs
|
- name: save qlogs
|
||||||
if: ${{ always() && env.DEBUG }}
|
if: ${{ always() && env.DEBUG == 'true' }}
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: qlogs
|
name: qlogs
|
||||||
|
|||||||
Reference in New Issue
Block a user