Skip to content

Commit 8c201cf

Browse files
authored
add plone.staticresources to checkouts.cfg (mxcheckouts.ini gets generated during make install)
1 parent d382645 commit 8c201cf

1 file changed

Lines changed: 2 additions & 16 deletions

File tree

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

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -103,28 +103,14 @@ jobs:
103103
cache: pip
104104
cache-dependency-path: tests/requirements.txt
105105

106-
- name: Mark plone.staticresources as source checkout for mxdev
106+
- name: Mark plone.staticresources as source checkout
107107
run: |
108-
python3 -c "
109-
import configparser
110-
cfg = configparser.ConfigParser()
111-
cfg.read('tests/mxcheckouts.ini')
112-
if not cfg.has_section('plone.staticresources'):
113-
cfg.add_section('plone.staticresources')
114-
cfg.set('plone.staticresources', 'use', 'true')
115-
with open('tests/mxcheckouts.ini', 'w') as f:
116-
cfg.write(f)
117-
"
108+
echo " plone.staticresources" >> tests/checkouts.cfg
118109
119110
- name: Install (checks out plone.staticresources via mxdev)
120111
working-directory: tests
121112
run: make install
122113

123-
- name: Check Installation
124-
run: |
125-
tree -L 3 -I 'node_modules|.git'
126-
cat tests/mxcheckouts.ini
127-
128114
# ── 2b. Build mockup bundle into tests/src/plone.staticresources ─────────
129115
- name: Build mockup for tests (webpack)
130116
run: pnpm build:webpack:tests

0 commit comments

Comments
 (0)