File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 6464 run : |
6565 git checkout PR-HEAD -- ./cypress
6666
67+ - name : Check file existence
68+ id : check_files
69+ run : |
70+ if test "py/visdom/server.py"; then
71+ echo '::set-output name=file_exists::true'
72+ else
73+ echo '::set-output name=file_exists::false'
74+ fi
75+
76+ - name : Cypress test:init
77+ if : steps.check_files.outputs.file_exists == 'true'
78+ uses : cypress-io/github-action@v2
79+ with :
80+ install : false
81+ start : python3 py/visdom/server.py -port 8098 -env_path /tmp
82+ wait-on : ' http://localhost:8098'
83+ spec : cypress/integration/*.init.js
6784 - name : Cypress test:init
6885 uses : cypress-io/github-action@v2
86+ if : steps.check_files.outputs.file_exists != 'true'
6987 with :
7088 install : false
7189 start : python3 py/visdom/server -port 8098 -env_path /tmp
You can’t perform that action at this time.
0 commit comments