Skip to content

Commit

Permalink
Mock the gpg library in ci more
Browse files Browse the repository at this point in the history
  • Loading branch information
lucc committed Aug 11, 2024
1 parent 5de2888 commit 156a613
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,11 @@ jobs:
pip install .
- name: Mock the gpg library
run: touch gpg.py
run: |
mkdir -p gpg/constants
echo from . import constants > gpg/__init__.py
echo from . import validity > gpg/constants/__init__.py
echo FULL = 4 > gpg/constants/validity.py
- name: Run tests
run: python3 -m unittest --verbose

0 comments on commit 156a613

Please sign in to comment.