@@ -58,26 +58,66 @@ 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/[email protected] #egg=cylc-flow --no-deps 6168
6269 - name : install cylc-uiserver
63- run : pip install -e .[all]
70+ run : |
71+ pip install -e .[all]
72+ echo "PWD is: "
73+ pwd
74+ echo "ls: "
75+ ls
6476
65- - name : Style test
66- if : startsWith(matrix.os, 'ubuntu')
67- run : flake8
77+ # - name: Style test
78+ # if: startsWith(matrix.os, 'ubuntu')
79+ # run: flake8 cylc/uiserver/* tests/unit/* tests/integration/*
6880
69- - name : Type checking
70- if : startsWith(matrix.os, 'ubuntu')
71- run : mypy
81+ # - name: Type checking
82+ # if: startsWith(matrix.os, 'ubuntu')
83+ # run: mypy
7284
73- - name : Check changelog
74- uses : cylc/release-actions/towncrier-draft@v1
85+ # - name: Check changelog
86+ # uses: cylc/release-actions/towncrier-draft@v1
7587
76- - name : Test
77- run : pytest
88+ # - name: Test
89+ # run: pytest
90+
91+ - name : Cylc Review tests
92+ run : |
93+ CONF_PATH="$HOME/.cylc/flow/8"
94+ mkdir -p "$CONF_PATH"
95+ touch "$CONF_PATH/global.cylc"
96+ ln -s "$CONF_PATH/global.cylc" "$CONF_PATH/global-tests.cylc"
97+
98+ cat >> "$CONF_PATH/global.cylc" <<__HERE__
99+ [platforms]
100+ [[_local_background_indep_tcp]]
101+ hosts = localhost
102+ install target = localhost
103+ ssh command = ssh -oBatchMode=yes -oConnectTimeout=8 -oStrictHostKeyChecking=no
104+ __HERE__
105+
106+ # Check that Cylc Review is ready to run
107+ # (We're only interested if it emits an error):
108+ cylc review --help > /dev/null || exit 1
109+
110+ # Run tests on Cylc Review
111+ export CYLC_COVERAGE=1
112+ ./etc/bin/run-functional-tests
78113
79114 - name : Coverage report
80115 run : |
116+ echo pwd:
117+ pwd
118+ echo ls:
119+ ls
120+ coverage combine --append src/cylc-flow
81121 coverage xml --ignore-errors
82122 coverage report
83123
0 commit comments