diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 41d5b6b6a..8c6a6e0fa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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