test(pkcs11): add softhsm2 integration test with assumptions and configure ci pipeline

This commit is contained in:
Claudecio Martins
2026-10-20 15:26:39 -03:00
parent 4b64a113b5
commit 4b6ae923c6
3 changed files with 211 additions and 1 deletions
+7
View File
@@ -32,6 +32,13 @@ jobs:
- name: Conceder permissão de execução ao Maven Wrapper
run: chmod +x ./mvnw
- name: Instalar SoftHSM2 para testes de hardware PKCS#11
run: |
sudo apt-get update
sudo apt-get install -y softhsm2
sudo mkdir -p /var/lib/softhsm/tokens
sudo chmod 777 /var/lib/softhsm/tokens
- name: Executar verificação Maven (Compilação, Testes, JaCoCo, SpotBugs, ArchUnit)
run: ./mvnw -B clean verify