ci: provision pinned image runtime
Some checks failed
Quality gates / quality (pull_request) Failing after 2m49s
Some checks failed
Quality gates / quality (pull_request) Failing after 2m49s
This commit is contained in:
parent
517c8dbac3
commit
f7a018de7e
|
|
@ -23,10 +23,15 @@ jobs:
|
|||
with:
|
||||
node-version: 22
|
||||
cache: npm
|
||||
- name: Set up pinned Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
- name: Install reproducibly
|
||||
run: |
|
||||
npm ci
|
||||
python3 -m pip install --break-system-packages -r requirements-test.txt
|
||||
printf 'TIMMY_PYTHON=%s\n' "$(python3 -c 'import sys; print(sys.executable)')" >> "$GITHUB_ENV"
|
||||
- name: Install browser
|
||||
run: npx playwright install --with-deps chromium
|
||||
- name: Unit and security tests
|
||||
|
|
|
|||
|
|
@ -17,6 +17,9 @@ test('Gitea CI gates pull requests and main with the reproducible quality suite'
|
|||
assert.match(workflow, /fetch-depth: 0/);
|
||||
assert.match(workflow, /npm ci/);
|
||||
assert.match(workflow, /python3 -m pip install --break-system-packages -r requirements-test\.txt/);
|
||||
assert.match(workflow, /uses: actions\/setup-python@v5/);
|
||||
assert.match(workflow, /python-version: ['"]3\.11['"]/);
|
||||
assert.match(workflow, /TIMMY_PYTHON=.*sys\.executable/);
|
||||
assert.match(workflow, /npm test/);
|
||||
assert.match(workflow, /npm run test:ui/);
|
||||
assert.match(workflow, /npm run test:photo/);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user