7
7
8
8
Version-Check :
9
9
name : Version
10
- runs-on : ubuntu-latest
10
+ runs-on : ubuntu-24.04
11
11
12
12
steps :
13
13
- name : SCM Checkout
@@ -16,39 +16,50 @@ jobs:
16
16
fetch-depth : 0
17
17
18
18
- name : Setup Python & Poetry Environment
19
- uses :
exasol/python-toolbox/.github/actions/[email protected]
20
- with :
21
- poetry-version : 2.0.1
19
+ uses :
exasol/python-toolbox/.github/actions/[email protected]
22
20
23
21
- name : Check Version(s)
24
22
run : poetry run version-check exasol/developer_documentation/version.py
25
23
26
24
Documentation :
27
25
name : Docs
28
26
needs : [ Version-Check ]
29
- runs-on : ubuntu-latest
27
+ runs-on : ubuntu-24.04
30
28
31
29
steps :
32
30
- name : SCM Checkout
33
31
uses : actions/checkout@v4
34
32
35
33
- name : Setup Python & Poetry Environment
36
- uses :
exasol/python-toolbox/.github/actions/[email protected]
37
- with :
38
- poetry-version : 2.0.1
34
+ uses :
exasol/python-toolbox/.github/actions/[email protected]
39
35
40
36
- name : Build Documentation
41
37
run : |
42
- poetry run python -m nox -s docs:build
38
+ poetry run -- nox -s docs:build
43
39
44
40
build-matrix :
45
41
name : Generate Build Matrix
46
42
uses : ./.github/workflows/matrix-python.yml
47
43
44
+ Changelog :
45
+ name : Changelog Update Check
46
+ runs-on : ubuntu-24.04
47
+ if : ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' }}
48
+
49
+ steps :
50
+ - name : SCM Checkout
51
+ uses : actions/checkout@v4
52
+
53
+ - name : Setup Python & Poetry Environment
54
+ uses :
exasol/python-toolbox/.github/actions/[email protected]
55
+
56
+ - name : Run changelog update check
57
+ run : poetry run -- nox -s changelog:updated
58
+
48
59
Lint :
49
60
name : Linting (Python-${{ matrix.python-version }})
50
61
needs : [ Version-Check, build-matrix ]
51
- runs-on : ubuntu-latest
62
+ runs-on : ubuntu-24.04
52
63
strategy :
53
64
fail-fast : false
54
65
matrix : ${{ fromJson(needs.build-matrix.outputs.matrix) }}
@@ -58,13 +69,12 @@ jobs:
58
69
uses : actions/checkout@v4
59
70
60
71
- name : Setup Python & Poetry Environment
61
- uses : exasol/python-toolbox/.github/actions/python-environment@0.21.0
72
+ uses : exasol/python-toolbox/.github/actions/python-environment@1.0.1
62
73
with :
63
74
python-version : ${{ matrix.python-version }}
64
- poetry-version : 2.0.1
65
75
66
76
- name : Run lint
67
- run : poetry run nox -s lint:code
77
+ run : poetry run -- nox -s lint:code
68
78
69
79
- name : Upload Artifacts
70
80
78
88
Type-Check :
79
89
name : Type Checking (Python-${{ matrix.python-version }})
80
90
needs : [ Version-Check, build-matrix ]
81
- runs-on : ubuntu-latest
91
+ runs-on : ubuntu-24.04
82
92
strategy :
83
93
fail-fast : false
84
94
matrix : ${{ fromJson(needs.build-matrix.outputs.matrix) }}
@@ -88,18 +98,17 @@ jobs:
88
98
uses : actions/checkout@v4
89
99
90
100
- name : Setup Python & Poetry Environment
91
- uses : exasol/python-toolbox/.github/actions/python-environment@0.21.0
101
+ uses : exasol/python-toolbox/.github/actions/python-environment@1.0.1
92
102
with :
93
103
python-version : ${{ matrix.python-version }}
94
- poetry-version : 2.0.1
95
104
96
105
- name : Run type-check
97
- run : poetry run nox -s lint:typing
106
+ run : poetry run -- nox -s lint:typing
98
107
99
108
Security :
100
109
name : Security Checks (Python-${{ matrix.python-version }})
101
110
needs : [ Version-Check, build-matrix ]
102
- runs-on : ubuntu-latest
111
+ runs-on : ubuntu-24.04
103
112
strategy :
104
113
fail-fast : false
105
114
matrix : ${{ fromJson(needs.build-matrix.outputs.matrix) }}
@@ -109,13 +118,12 @@ jobs:
109
118
uses : actions/checkout@v4
110
119
111
120
- name : Setup Python & Poetry Environment
112
- uses : exasol/python-toolbox/.github/actions/python-environment@0.21.0
121
+ uses : exasol/python-toolbox/.github/actions/python-environment@1.0.1
113
122
with :
114
123
python-version : ${{ matrix.python-version }}
115
- poetry-version : 2.0.1
116
124
117
125
- name : Run security linter
118
- run : poetry run nox -s lint:security
126
+ run : poetry run -- nox -s lint:security
119
127
120
128
- name : Upload Artifacts
121
129
@@ -126,25 +134,22 @@ jobs:
126
134
127
135
Format :
128
136
name : Format Check
129
- runs-on : ubuntu-latest
137
+ runs-on : ubuntu-24.04
130
138
131
139
steps :
132
140
- name : SCM Checkout
133
141
uses : actions/checkout@v4
134
142
135
143
- name : Setup Python & Poetry Environment
136
- uses :
exasol/python-toolbox/.github/actions/[email protected]
137
- with :
138
- python-version : " 3.9"
139
- poetry-version : 2.0.1
144
+ uses :
exasol/python-toolbox/.github/actions/[email protected]
140
145
141
146
- name : Run format check
142
- run : poetry run nox -s project:format
147
+ run : poetry run -- nox -s project:format
143
148
144
149
Tests :
145
150
name : Unit-Tests (Python-${{ matrix.python-version }}, Exasol-${{ matrix.exasol-version}})
146
151
needs : [ Documentation, Lint, Type-Check, Security, Format, build-matrix ]
147
- runs-on : ubuntu-latest
152
+ runs-on : ubuntu-24.04
148
153
env :
149
154
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
150
155
strategy :
@@ -156,13 +161,12 @@ jobs:
156
161
uses : actions/checkout@v4
157
162
158
163
- name : Setup Python & Poetry Environment
159
- uses : exasol/python-toolbox/.github/actions/python-environment@0.21.0
164
+ uses : exasol/python-toolbox/.github/actions/python-environment@1.0.1
160
165
with :
161
166
python-version : ${{ matrix.python-version }}
162
- poetry-version : 2.0.1
163
167
164
168
- name : Run Tests and Collect Coverage
165
- run : poetry run nox -s test:unit -- -- --coverage
169
+ run : poetry run -- nox -s test:unit -- --coverage
166
170
167
171
- name : Upload Artifacts
168
172
0 commit comments