- git checkout debian
- gpg --import < debian/upstream/signing-key.asc
- # Test in the develop branch
+ # Create a test keyring in the develop branch
- git branch develop --track origin/develop || true
- git checkout develop
- mkdir -p ~/temp/tests
- git config --global user.email 'test@example.org'
- KEYRINGER_NON_INTERACTIVE=1 ./keyringer test init ~/temp/tests/keyringer
- gpg --with-colons --list-keys | grep uid | awk -F ':' '{ x = $10; gsub(/.*</, "", x); gsub(/>/, "", x); print x, $8; }' >> ~/temp/tests/keyringer/config/recipients/default
+
+ # Test the keyring in the develop branch
+ # This will also test the expiration of the upstream signing key
- ./keyringer test check
+
+ # Tear down the keyring in the develop branch
- ./keyringer test teardown -y
# Test in the main branch