@@ -94,11 +94,10 @@ jobs:
94
94
tldr tldr --markdown
95
95
96
96
build-windows :
97
- runs-on : ${{ matrix.os }}
97
+ runs-on : windows-latest
98
98
99
99
strategy :
100
100
matrix :
101
- os : ['windows-latest', 'windows-11-arm']
102
101
python-version : ['3.9', '3.10', '3.11', '3.12', '3.13']
103
102
104
103
steps :
@@ -138,6 +137,50 @@ jobs:
138
137
tldr --version
139
138
tldr tldr --markdown
140
139
140
+ build-windows-arm :
141
+ runs-on : windows-11-arm
142
+
143
+ strategy :
144
+ matrix :
145
+ python-version : ['3.11', '3.12', '3.13']
146
+
147
+ steps :
148
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
149
+
150
+ - name : Set up Python ${{ matrix.python-version }}
151
+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
152
+ with :
153
+ python-version : ${{ matrix.python-version }}
154
+
155
+ - name : Install developer dependencies
156
+ run : |
157
+ python3 -m pip install -U pip
158
+ python3 -m pip install -U pytest pytest-runner flake8
159
+
160
+ - name : Install sphinx dependencies
161
+ run : |
162
+ python -m pip install sphinx sphinx-argparse --user
163
+
164
+ - name : Install tldr dependencies
165
+ run :
166
+ python3 -m pip install -r requirements.txt --user
167
+
168
+ - name : Generate the manpage
169
+ working-directory : docs
170
+ run : make man
171
+
172
+ - name : Lint codebase
173
+ run : python3 -m flake8
174
+
175
+ - name : Run test suite
176
+ run : python3 -m pytest tests/
177
+
178
+ - name : Test tldr cli
179
+ run : |
180
+ python3 -m pip install .
181
+ tldr --version
182
+ tldr tldr --markdown
183
+
141
184
build-snap :
142
185
runs-on : ${{ matrix.os }}
143
186
if : github.repository == 'tldr-pages/tldr-python-client' && github.ref == 'refs/heads/main'
0 commit comments