Skip to content

Commit 12b4c0e

Browse files
committed
Add ref for pam-pkcs11 test and fix WPFF
1 parent ff8bba6 commit 12b4c0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/scripts/pam-pkcs11-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ DEBIAN_FRONTEND=noninteractive apt-get install -y \
4242
echo "[*] Cloning pam_pkcs11..."
4343
cd /opt
4444
if [[ ! -d "pam_pkcs11" ]]; then
45-
git clone https://github.com/OpenSC/pam_pkcs11.git
45+
git clone --branch=${PAM_PKCS11_REF} https://github.com/OpenSC/pam_pkcs11.git
4646
fi
4747
cd pam_pkcs11
4848

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
source $GITHUB_WORKSPACE/scripts/env-setup
6565
6666
# Run tests
67-
if timeout 300 ${{ matrix.force_fail }} sudo bash -c $GITHUB_WORKSPACE/.github/scripts/pam-pkcs11-test.sh; then
67+
if timeout 300 sudo bash -c "${{ matrix.force_fail }} PAM_PKCS11_REF=${{ matrix.pam_pkcs11_ref }} $GITHUB_WORKSPACE/.github/scripts/pam-pkcs11-test.sh"; then
6868
TEST_RESULT=0
6969
else
7070
TEST_RESULT=1

0 commit comments

Comments
 (0)