Skip to content

Commit 72eb0b8

Browse files
committed
Windows
1 parent 24a43b9 commit 72eb0b8

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,16 @@ jobs:
55
runs-on: ${{ matrix.os }}
66
strategy:
77
matrix:
8-
os: [ubuntu-20.04, ubuntu-20.04-arm, ubuntu-22.04, ubuntu-22.04-arm, ubuntu-24.04, ubuntu-24.04-arm, macos-13, macos-14, macos-15]
8+
os:
9+
- ubuntu-20.04
10+
- ubuntu-20.04-arm
11+
- ubuntu-22.04
12+
- ubuntu-22.04-arm
13+
- ubuntu-24.04
14+
- ubuntu-24.04-arm
15+
- macos-13
16+
- macos-14
17+
- macos-15
918
steps:
1019
- name: Install system dependencies (Ubuntu)
1120
if: startsWith(matrix.os, 'ubuntu')
@@ -19,14 +28,14 @@ jobs:
1928
brew install asciidoc xmlto libgit2
2029
HOMEBREW_PREFIX=$(brew --prefix)
2130
echo "XML_CATALOG_FILES=${HOMEBREW_PREFIX}/etc/xml/catalog" >> $GITHUB_ENV
22-
- name: Install Python packages
31+
- name: Install Python packages (Posix)
2332
if: runner.os != 'Windows'
2433
run: |
2534
python3 -m venv ~/venv
2635
source ~/venv/bin/activate
2736
python3 -m pip install --upgrade pip
2837
python3 -m pip install pylint pycodestyle pygit2 cryptography asciidoc
29-
- name: Install Python packages
38+
- name: Install Python packages (Windows)
3039
if: runner.os == 'Windows'
3140
run: |
3241
python3 -m venv $env:USERPROFILE\venv
@@ -37,15 +46,15 @@ jobs:
3746
uses: actions/checkout@v4
3847
with:
3948
fetch-depth: 0
40-
- name: Test
49+
- name: Test (Posix)
4150
if: runner.os != 'Windows'
4251
run: |
4352
git config --global user.email "[email protected]"
4453
git config --global user.name "Test User"
4554
gpg --batch --gen-key .github/workflows/testkey.conf
4655
source ~/venv/bin/activate
4756
make KEY:=$(gpg --list-keys --with-colons | awk -F: '/^pub/ {print $5; exit}') test
48-
- name: Test
57+
- name: Test (Windows)
4958
if: runner.os == 'Windows'
5059
run: |
5160
git config --global user.email "[email protected]"

0 commit comments

Comments
 (0)