Skip to content

Commit 74da260

Browse files
authored
fixing staticresource checkout
Add step to configure plone.staticresources in mxcheckouts.ini
1 parent b81672b commit 74da260

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/coredev-robot-tests.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,23 @@ jobs:
9797
run: .venv/bin/rfbrowser init chromium
9898

9999
# ── 5. Coredev robot tests ───────────────────────────────────────────────
100+
- name: Mark plone.staticresources as source checkout for mxdev (again - this somehow gets lost?)
101+
working-directory: tests
102+
run: |
103+
python3 -c "
104+
import configparser
105+
cfg = configparser.ConfigParser()
106+
cfg.read('mxcheckouts.ini')
107+
if not cfg.has_section('plone.staticresources'):
108+
cfg.add_section('plone.staticresources')
109+
cfg.set('plone.staticresources', 'use', 'true')
110+
with open('mxcheckouts.ini', 'w') as f:
111+
cfg.write(f)
112+
"
113+
100114
- name: Run Coredev robot tests
101115
working-directory: tests
102-
run: TEST_ARGS="--all -t ONLYROBOT" ./run-tests.sh
116+
run: ROBOTSUITE_PREFIX=ONLYROBOT TEST_ARGS="--all -t ONLYROBOT" make test
103117

104118
- name: Upload robot test results
105119
if: always()

0 commit comments

Comments
 (0)