-
Notifications
You must be signed in to change notification settings - Fork 0
67 lines (59 loc) · 1.63 KB
/
ci.yml
File metadata and controls
67 lines (59 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: "cs_dynamicpages CI"
on:
push:
env:
python-version: "3.12"
plone-version: "6.1.2"
jobs:
config:
runs-on: ubuntu-latest
outputs:
python-version: ${{ env.python-version }}
plone-version: ${{ env.plone-version }}
steps:
- name: Test vars
run: |
echo 'python-version=${{ env.python-version }}'
echo 'plone-version=${{ env.plone-version }}'
lint:
name: "Backend: Lint"
needs:
- config
uses: plone/meta/.github/workflows/backend-lint.yml@2.x
with:
python-version: ${{ needs.config.outputs.python-version }}
plone-version: ${{ needs.config.outputs.plone-version }}
i18n:
name: "Missing i18n:translate"
runs-on: ubuntu-latest
needs:
- config
steps:
- uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Check for untranslated strings
shell: bash
run: |
uvx i18ndude find-untranslated -n src/
test:
name: "Backend: Test"
needs:
- config
uses: plone/meta/.github/workflows/backend-pytest.yml@2.x
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
plone-version: ["6.1-latest", "6.0-latest"]
with:
python-version: ${{ matrix.python-version }}
plone-version: ${{ matrix.plone-version }}
coverage:
name: "Backend: Test Coverage"
uses: plone/meta/.github/workflows/backend-pytest-coverage.yml@2.x
needs:
- config
- test
with:
python-version: ${{ needs.config.outputs.python-version }}
plone-version: ${{ needs.config.outputs.plone-version }}