diff --git a/.github/workflows/process-changes.yml b/.github/workflows/process-changes.yml index 27b2a0d8..8b0411c5 100644 --- a/.github/workflows/process-changes.yml +++ b/.github/workflows/process-changes.yml @@ -65,29 +65,11 @@ jobs: run: | git checkout PR-HEAD -- ./cypress - - name: Check file existence - id: check_files - run: | - if test "py/visdom/server.py"; then - echo '::set-output name=file_exists::true' - else - echo '::set-output name=file_exists::false' - fi - - - name: Cypress test:init - if: steps.check_files.outputs.file_exists == 'true' - uses: cypress-io/github-action@v2 - with: - install: false - start: python3 py/visdom/server.py -port 8098 -env_path /tmp - wait-on: 'http://localhost:8098' - spec: cypress/integration/*.init.js - name: Cypress test:init uses: cypress-io/github-action@v2 - if: steps.check_files.outputs.file_exists != 'true' with: install: false - start: python3 py/visdom/server -port 8098 -env_path /tmp + start: visdom -port 8098 -env_path /tmp wait-on: 'http://localhost:8098' spec: cypress/integration/*.init.js @@ -114,7 +96,7 @@ jobs: uses: cypress-io/github-action@v2 with: install: false - start: python3 py/visdom/server -port 8098 -env_path /tmp + start: visdom -port 8098 -env_path /tmp wait-on: 'http://localhost:8098' spec: cypress/integration/screenshots.js @@ -136,7 +118,7 @@ jobs: uses: cypress-io/github-action@v2 with: install: false - start: python3 py/visdom/server -port 8098 -env_path /tmp + start: visdom -port 8098 -env_path /tmp wait-on: 'http://localhost:8098' config: ignoreTestFiles=screenshots.*