We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37950df commit b1825ccCopy full SHA for b1825cc
.github/workflows/process-changes.yml
@@ -65,8 +65,26 @@ jobs:
65
run: |
66
git checkout PR-HEAD -- ./cypress
67
68
+ - name: Check file existence
69
+ id: check_files
70
+ run: |
71
+ if test "py/visdom/server.py"; then
72
+ echo '::set-output name=file_exists::true'
73
+ else
74
+ echo '::set-output name=file_exists::false'
75
+ fi
76
+
77
+ - name: Cypress test:init
78
+ if: steps.check_files.outputs.file_exists == 'true'
79
+ uses: cypress-io/github-action@v2
80
+ with:
81
+ install: false
82
+ start: python3 py/visdom/server.py -port 8098 -env_path /tmp
83
+ wait-on: 'http://localhost:8098'
84
+ spec: cypress/integration/*.init.js
85
- name: Cypress test:init
86
uses: cypress-io/github-action@v2
87
+ if: steps.check_files.outputs.file_exists != 'true'
88
with:
89
install: false
90
start: python3 py/visdom/server -port 8098 -env_path /tmp
0 commit comments