diff --git a/.github/workflows/ubuntu-build-php.yml b/.github/workflows/ubuntu-build-php.yml index 184c8c6..83115e1 100644 --- a/.github/workflows/ubuntu-build-php.yml +++ b/.github/workflows/ubuntu-build-php.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: - container: ["debian:bullseye", "ubuntu:focal"] + container: ["ubuntu:focal"] php-version: [7.4] steps: @@ -37,6 +37,8 @@ jobs: run: ./configure - name: Make source on ${{ matrix.container }} run: make + - name: Run testcases ${{ matrix.php-version }} + run: make NO_INTERACTION=1 PHP_TEST_SHARED_EXTENSIONS="-c tests/blenc.ini" test php-8_1: @@ -50,7 +52,7 @@ jobs: strategy: matrix: - container: ["debian:sid", "ubuntu:22.04"] + container: ["ubuntu:22.04"] php-version: [8.1] steps: @@ -68,3 +70,5 @@ jobs: run: ./configure - name: Make source on ${{ matrix.container }} run: make + - name: Run testcases ${{ matrix.php-version }} + run: make NO_INTERACTION=1 PHP_TEST_SHARED_EXTENSIONS="-c tests/blenc.ini" test diff --git a/tests/blenc.ini b/tests/blenc.ini new file mode 100644 index 0000000..beac8c6 --- /dev/null +++ b/tests/blenc.ini @@ -0,0 +1,7 @@ +; comment out next line to disable blenc extension in php +extension=modules/blenc.so + +; The location where BLENC can find the file containing a list of +; available decryption keys. This file must be readable by web-server. +; +blenc.key_file = "tests/keys.txt"