@@ -58,13 +58,21 @@ jobs:
5858 with :
5959 cylc_flow : true
6060 cylc_flow_opts : ' '
61+ editable_installations : true
62+
63+ - name : bodge
64+ run : |
65+ # This is a bodge to make this branch work before companion branches
66+ # merged:
67+ pip install -e git+https://github.com/wxtim/cylc@feat.cylc-review#egg=cylc-flow --no-deps
6168
6269 - name : install cylc-uiserver
63- run : pip install -e .[all]
70+ run : |
71+ pip install -e .[all]
6472
6573 - name : Style test
6674 if : startsWith(matrix.os, 'ubuntu')
67- run : flake8
75+ run : flake8 cylc/uiserver/* tests/unit/* tests/integration/*
6876
6977 - name : Type checking
7078 if : startsWith(matrix.os, 'ubuntu')
7684 - name : Test
7785 run : pytest
7886
87+ - name : Cylc Review tests
88+ run : |
89+ CONF_PATH="$HOME/.cylc/flow/8"
90+ mkdir -p "$CONF_PATH"
91+ touch "$CONF_PATH/global.cylc"
92+ ln -s "$CONF_PATH/global.cylc" "$CONF_PATH/global-tests.cylc"
93+
94+ cat >> "$CONF_PATH/global.cylc" <<__HERE__
95+ [platforms]
96+ [[_local_background_indep_tcp]]
97+ hosts = localhost
98+ install target = localhost
99+ ssh command = ssh -oBatchMode=yes -oConnectTimeout=8 -oStrictHostKeyChecking=no
100+ __HERE__
101+
102+ # Check that Cylc Review is ready to run
103+ # (We're only interested if it emits an error):
104+ cylc review --help > /dev/null || exit 1
105+
106+ # Run tests on Cylc Review
107+ export CYLC_COVERAGE=1
108+ ./etc/bin/run-functional-tests
109+
79110 - name : Coverage report
80111 run : |
112+ echo pwd:
113+ pwd
114+ echo ls:
115+ ls
116+ coverage combine --append src/cylc-flow
81117 coverage xml --ignore-errors
82118 coverage report
83119
0 commit comments