chore: fix docker tests upload (#9643)

This commit is contained in:
Andrey Lushnikov 2021-10-20 01:52:55 -07:00 committed by GitHub
parent 6264a70f70
commit 083b54a64e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,9 +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
- name: Make all writable for uploading the test-results
run: sudo chmod -R 777 .
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
- run: sudo chmod -R 777 . && ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
if: always()
- uses: actions/upload-artifact@v1
if: ${{ always() }}