Skip to content

Commit 112f7f1

Browse files
committed
Windows
1 parent 06f935c commit 112f7f1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
- name: Install Python packages
3030
if: runner.os == 'Windows'
3131
run: |
32-
python3 -m $GITHUB_WORKSPACE\venv venv
33-
dir $GITHUB_WORKSPACE\venv
34-
dir $GITHUB_WORKSPACE\venv\Scripts
35-
$GITHUB_WORKSPACE\venv\Scripts\activate
32+
python3 -m $env:GITHUB_WORKSPACE\venv venv
33+
dir $env:GITHUB_WORKSPACE\venv
34+
dir $env:GITHUB_WORKSPACE\venv\Scripts
35+
$env:GITHUB_WORKSPACE\venv\Scripts\activate
3636
python3 -m pip install --upgrade pip
3737
python3 -m pip install pylint pycodestyle pygit2 cryptography asciidoc
3838
- name: Checkout
@@ -53,7 +53,7 @@ jobs:
5353
git config --global user.email "[email protected]"
5454
git config --global user.name "Test User"
5555
gpg --batch --gen-key .github/workflows/testkey.conf
56-
dir $GITHUB_WORKSPACE/venv
57-
dir $GITHUB_WORKSPACE/venv/Scripts
58-
$GITHUB_WORKSPACE/venv/Scripts/activate
56+
dir $env:GITHUB_WORKSPACE/venv
57+
dir $env:GITHUB_WORKSPACE/venv/Scripts
58+
$env:GITHUB_WORKSPACE/venv/Scripts/activate
5959
make KEY:=$(gpg --list-keys --with-colons | awk -F: '/^pub/ {print $5; exit}') test

0 commit comments

Comments
 (0)