Skip to content

Commit b8e0b0b

Browse files
committed
And another attempt
1 parent 7f68b13 commit b8e0b0b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/test.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
python-version: "pypy-3.8" #no cryptography available there
2727

2828
env:
29-
GNUPGHOME: ${{ github.workspace }}/.gpg
3029
PGP_KEY_NAME: ${{ secrets.PGP_KEY_NAME }}
3130
PGP_KEY_PASSWD: ${{ secrets.PGP_KEY_PASSWD }}
3231
BSD_KEY: ${{ github.workspace }}/bsd-key
@@ -37,7 +36,8 @@ jobs:
3736
- name: Preprare Keys
3837
shell: bash
3938
run: |
40-
mkdir -p $GITHUB_WORKSPACE/.gpg
39+
export GNUPGHOME=$GITHUB_WORKSPACE/.gpg
40+
mkdir -p $GNUPGHOME
4141
echo -n "${{ secrets.PGP_KEY }}" | base64 --decode | gpg --import --batch --pinentry-mode=loopback
4242
echo -n "${{ secrets.BSD_KEY }}" > $GITHUB_WORKSPACE/bsd-key
4343
@@ -51,5 +51,8 @@ jobs:
5151
run: pip install Nox
5252

5353
- name: Test
54-
run: nox --sessions test --force-python ${{ steps.setup-python.outputs.python-path }}
54+
shell: bash
55+
run: |
56+
export GNUPGHOME=$GITHUB_WORKSPACE/.gpg
57+
nox --sessions test --force-python ${{ steps.setup-python.outputs.python-path }}
5558

0 commit comments

Comments
 (0)