Skip to content

Commit d388845

Browse files
committed
cleanup: update testing jobs
Signed-off-by: K.B.Dharun Krishna <[email protected]>
1 parent 110baa3 commit d388845

File tree

1 file changed

+14
-33
lines changed

1 file changed

+14
-33
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
os: ['ubuntu-latest', 'ubuntu-24.04-arm']
12-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.9', 'pypy3.10']
12+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.10', 'pypy3.11']
1313

1414
steps:
1515
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -25,20 +25,12 @@ jobs:
2525
python3 -m pip install -U pytest pytest-runner flake8
2626
2727
- name: Install sphinx dependencies
28-
run: >-
29-
python3 -m
30-
pip install
31-
sphinx
32-
sphinx-argparse
33-
--user
28+
run:
29+
python3 -m pip install sphinx sphinx-argparse --user
3430

3531
- name: Install tldr dependencies
36-
run: >-
37-
python3 -m
38-
pip install
39-
-r
40-
requirements.txt
41-
--user
32+
run:
33+
python3 -m pip install -r requirements.txt --user
4234

4335
- name: Generate the manpage
4436
working-directory: docs
@@ -61,7 +53,7 @@ jobs:
6153

6254
strategy:
6355
matrix:
64-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.9', 'pypy3.10']
56+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.10', 'pypy3.11']
6557

6658
steps:
6759
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -82,12 +74,8 @@ jobs:
8274
echo "$HOME/.local/bin" >> $GITHUB_PATH
8375
8476
- name: Install tldr dependencies
85-
run: >-
86-
python3 -m
87-
pip install
88-
-r
89-
requirements.txt
90-
--user
77+
run:
78+
python3 -m pip install -r requirements.txt --user
9179

9280
- name: Generate the manpage
9381
working-directory: docs
@@ -110,7 +98,7 @@ jobs:
11098

11199
strategy:
112100
matrix:
113-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.9', 'pypy3.10']
101+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.10', 'pypy3.11']
114102

115103
steps:
116104
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -126,20 +114,13 @@ jobs:
126114
python3 -m pip install -U pytest pytest-runner flake8
127115
128116
- name: Install sphinx dependencies
129-
run: >-
130-
python -m
131-
pip install
132-
sphinx
133-
sphinx-argparse
134-
--user
117+
run: |
118+
python -m pip install sphinx sphinx-argparse --user
119+
echo "$env:USERPROFILE\.local\Scripts" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
135120
136121
- name: Install tldr dependencies
137-
run: >-
138-
python3 -m
139-
pip install
140-
-r
141-
requirements.txt
142-
--user
122+
run:
123+
python3 -m pip install -r requirements.txt --user
143124

144125
- name: Generate the manpage
145126
working-directory: docs

0 commit comments

Comments
 (0)