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 65
65
run : |
66
66
git checkout PR-HEAD -- ./cypress
67
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
68
85
- name : Cypress test:init
69
86
uses : cypress-io/github-action@v2
87
+ if : steps.check_files.outputs.file_exists != 'true'
70
88
with :
71
89
install : false
72
90
start : python3 py/visdom/server -port 8098 -env_path /tmp
You can’t perform that action at this time.
0 commit comments