Skip to content
Snippets Groups Projects
Unverified Commit be35f8c3 authored by rhatto's avatar rhatto
Browse files

Feat: CI: test job (#10)

parent 77ad450f
Branches
Tags
No related merge requests found
Pipeline #258588 failed
......@@ -52,3 +52,29 @@ debian:
artifacts:
paths:
- dist
test:
image: debian:testing
script:
# Install keyringer from the distro packaging system
# This ensures the needed dependencies are installed
- apt-get update
- apt-get install -y keyringer
# Import debian/upstream/signing-key.asc
- git fetch --all
- git branch debian --track origin/debian || true
- git checkout debian
- gpg --import < debian/upstream/signing-key.asc
# Test in the develop branch
- git branch develop --track origin/develop || true
- git checkout develop
- mkdir ~/temp/tests/keyringer
- ./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
- ./keyringer test check
- ./keyringer test teardown -y
# Test in the main branch
# ...
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment