Skip to content

Commit e14ff22

Browse files
committed
Windows
1 parent 3b3f885 commit e14ff22

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,19 @@ jobs:
2020
HOMEBREW_PREFIX=$(brew --prefix)
2121
echo "XML_CATALOG_FILES=${HOMEBREW_PREFIX}/etc/xml/catalog" >> $GITHUB_ENV
2222
- name: Install Python packages
23+
if: runner.os != 'Windows'
2324
run: |
2425
python3 -m venv ~/venv
25-
pwd
2626
source ~/venv/bin/activate
2727
python3 -m pip install --upgrade pip
2828
python3 -m pip install pylint pycodestyle pygit2 cryptography asciidoc
29+
- name: Install Python packages
30+
if: runner.os == 'Windows'
31+
run: |
32+
python3 -m venv ~/venv
33+
~/venv/Scripts/activate
34+
python3 -m pip install --upgrade pip
35+
python3 -m pip install pylint pycodestyle pygit2 cryptography asciidoc
2936
- name: Checkout
3037
uses: actions/checkout@v4
3138
with:
@@ -35,6 +42,5 @@ jobs:
3542
git config --global user.email "[email protected]"
3643
git config --global user.name "Test User"
3744
gpg --batch --gen-key .github/workflows/testkey.conf
38-
pwd
3945
source ~/venv/bin/activate
4046
make KEY:=$(gpg --list-keys --with-colons | awk -F: '/^pub/ {print $5; exit}') test

0 commit comments

Comments
 (0)