2323 # This is redundant with specifying it at the use site, but makes it appear in the website UI.
2424 # See https://github.com/actions/runner-images/blob/main/README.md#available-images
2525 default : ' macos-15-xlarge'
26+ ignore_kt_tests :
27+ type : boolean
28+ description : ' Skip Key Transparency tests (sets LIBSIGNAL_TESTING_IGNORE_KT_TESTS)'
29+ default : true
2630
2731jobs :
2832 java-docker :
3539 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3640 with :
3741 submodules : recursive
42+ - name : Enable KT skip flag
43+ if : ${{ github.event_name != 'workflow_dispatch' || (github.event_name == 'workflow_dispatch' && inputs.ignore_kt_tests == true) }}
44+ run : echo "LIBSIGNAL_TESTING_IGNORE_KT_TESTS=true" >> "$GITHUB_ENV"
45+ - name : Print KT env toggle
46+ run : |
47+ echo "LIBSIGNAL_TESTING_IGNORE_KT_TESTS=${LIBSIGNAL_TESTING_IGNORE_KT_TESTS:-<unset>}"
3848 - run : make -C java
3949 - name : Upload JNI libraries
4050 uses : actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
6575 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
6676 with :
6777 submodules : recursive
78+ - name : Enable KT skip flag
79+ if : ${{ github.event_name != 'workflow_dispatch' || (github.event_name == 'workflow_dispatch' && inputs.ignore_kt_tests == true) }}
80+ run : echo "LIBSIGNAL_TESTING_IGNORE_KT_TESTS=true" >> "$GITHUB_ENV"
6881 - run : make -C java
6982 - name : Upload full JARs
7083 uses : actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
@@ -118,6 +131,9 @@ jobs:
118131 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
119132 with :
120133 submodules : recursive
134+ - name : Enable KT skip flag
135+ if : ${{ github.event_name != 'workflow_dispatch' || (github.event_name == 'workflow_dispatch' && inputs.ignore_kt_tests == true) }}
136+ run : echo "LIBSIGNAL_TESTING_IGNORE_KT_TESTS=true" >> "$GITHUB_ENV"
121137
122138 - run : sudo apt-get install protobuf-compiler
123139
@@ -213,6 +229,9 @@ jobs:
213229 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
214230 with :
215231 submodules : recursive
232+ - name : Enable KT skip flag
233+ if : ${{ github.event_name != 'workflow_dispatch' || (github.event_name == 'workflow_dispatch' && inputs.ignore_kt_tests == true) }}
234+ run : echo "LIBSIGNAL_TESTING_IGNORE_KT_TESTS=true" >> "$GITHUB_ENV"
216235
217236 - run : sudo apt-get update && sudo apt-get install protobuf-compiler
218237
@@ -237,6 +256,9 @@ jobs:
237256 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
238257 with :
239258 submodules : recursive
259+ - name : Enable KT skip flag
260+ if : ${{ github.event_name != 'workflow_dispatch' || (github.event_name == 'workflow_dispatch' && inputs.ignore_kt_tests == true) }}
261+ run : echo "LIBSIGNAL_TESTING_IGNORE_KT_TESTS=true" >> "$GITHUB_ENV"
240262 - run : node/docker-prebuildify.sh
241263 - run : npm ci && npm run tsc && npm run test
242264 working-directory : node
@@ -331,6 +353,9 @@ jobs:
331353 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
332354 with :
333355 submodules : recursive
356+ - name : Enable KT skip flag
357+ if : ${{ github.event_name != 'workflow_dispatch' || (github.event_name == 'workflow_dispatch' && inputs.ignore_kt_tests == true) }}
358+ run : echo "LIBSIGNAL_TESTING_IGNORE_KT_TESTS=true" >> "$GITHUB_ENV"
334359
335360 - run : rustup toolchain install $(cat rust-toolchain) --profile minimal --target x86_64-apple-ios,aarch64-apple-ios,aarch64-apple-ios-sim --component rust-src
336361
@@ -379,6 +404,9 @@ jobs:
379404 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
380405 with :
381406 submodules : recursive
407+ - name : Enable KT skip flag
408+ if : ${{ github.event_name != 'workflow_dispatch' || (github.event_name == 'workflow_dispatch' && inputs.ignore_kt_tests == true) }}
409+ run : echo "LIBSIGNAL_TESTING_IGNORE_KT_TESTS=true" >> "$GITHUB_ENV"
382410
383411 - run : sudo apt-get update && sudo apt-get install gcc-multilib g++-multilib protobuf-compiler
384412
0 commit comments