test: fix docker flakiness dashboard uploads

This commit is contained in:
Max Schmitt 2021-10-11 22:10:17 +02:00
parent d34b53a0d7
commit 0450b20712

View File

@ -61,7 +61,7 @@ jobs:
run: docker exec playwright-docker-${{ matrix.tag }}-test npm run build
- name: Run "npm run test" inside docker
run: docker exec -e INSIDE_DOCKER=1 -e CI=1 playwright-docker-${{ matrix.tag }}-test xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" npm run test
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
- run: sudo ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
if: always()
- uses: actions/upload-artifact@v1
if: ${{ always() }}