Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: remove folder creation in github actions (#2779)

Andrey Lushnikov6afb38d32fa1
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 6ab77f9076..3f27f81d73 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -35,9 +35,6 @@ jobs:
- run: xvfb-run --auto-servernum -- bash -c "ulimit -c unlimited && npm run ccoverage 2>./chromium-linux-testrun.log"
env:
DEBUG: "*"
- # Ensure output folder exists just in case it was not created by the test run.
- - run: node -e "require('fs').mkdirSync(require('path').join('test', 'output-chromium'), {recursive:true})"
- if: failure()
- uses: actions/upload-artifact@v1
if: failure()
with:
@@ -67,9 +64,6 @@ jobs:
- run: npm run ctest 2>./chromium-mac-testrun.log
env:
DEBUG: "*"
- # Ensure output folder exists just in case it was not created by the test run.
- - run: node -e "require('fs').mkdirSync(require('path').join('test', 'output-chromium'), {recursive:true})"
- if: failure()
- uses: actions/upload-artifact@v1
if: failure()
with:
@@ -95,9 +89,6 @@ jobs:
shell: bash
env:
DEBUG: "*"
- # Ensure output folder exists just in case it was not created by the test run.
- - run: node -e "require('fs').mkdirSync(require('path').join('test', 'output-chromium'), {recursive:true})"
- if: failure()
- uses: actions/upload-artifact@v1
if: failure()
with:
@@ -128,9 +119,6 @@ jobs:
- run: xvfb-run --auto-servernum -- bash -c "ulimit -c unlimited && npm run wcoverage 2>./webkit-linux-testrun.log"
env:
DEBUG: "*,-pw:wrapped*"
- # Ensure output folder exists just in case it was not created by the test run.
- - run: node -e "require('fs').mkdirSync(require('path').join('test', 'output-webkit'), {recursive:true})"
- if: failure()
- uses: actions/upload-artifact@v1
if: failure()
with:
@@ -160,9 +148,6 @@ jobs:
- run: npm run wtest 2>./webkit-mac-testrun.log
env:
DEBUG: "*,-pw:wrapped*"
- # Ensure output folder exists just in case it was not created by the test run.
- - run: node -e "require('fs').mkdirSync(require('path').join('test', 'output-webkit'), {recursive:true})"
- if: failure()
- uses: actions/upload-artifact@v1
if: failure()
with:
@@ -188,9 +173,6 @@ jobs:
shell: bash
env:
DEBUG: "*,-pw:wrapped*"
- # Ensure output folder exists just in case it was not created by the test run.
- - run: node -e "require('fs').mkdirSync(require('path').join('test', 'output-webkit'), {recursive:true})"
- if: failure()
- uses: actions/upload-artifact@v1
if: failure()
with:
@@ -221,9 +203,6 @@ jobs:
- run: xvfb-run --auto-servernum -- bash -c "ulimit -c unlimited && npm run fcoverage 2>./firefox-linux-testrun.log"
env:
DEBUG: "*"
- # Ensure output folder exists just in case it was not created by the test run.
- - run: node -e "require('fs').mkdirSync(require('path').join('test', 'output-firefox'), {recursive:true})"
- if: failure()
- uses: actions/upload-artifact@v1
if: failure()
with:
@@ -253,9 +232,6 @@ jobs:
- run: npm run ftest 2>./firefox-mac-testrun.log
env:
DEBUG: "*"
- # Ensure output folder exists just in case it was not created by the test run.
- - run: node -e "require('fs').mkdirSync(require('path').join('test', 'output-firefox'), {recursive:true})"
- if: failure()
- uses: actions/upload-artifact@v1
if: failure()
with:
@@ -281,9 +257,6 @@ jobs:
shell: bash
env:
DEBUG: "*"
- # Ensure output folder exists just in case it was not created by the test run.
- - run: node -e "require('fs').mkdirSync(require('path').join('test', 'output-firefox'), {recursive:true})"
- if: failure()
- uses: actions/upload-artifact@v1
if: failure()
with: