From 4e980e6351d48aa5c0784f436c828682804e1767 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sat, 16 Dec 2023 14:12:54 +0100 Subject: [PATCH] Install a newer version of shunit2 --- .github/workflows/tests.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ab3d754f..c5cfb0cb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -63,8 +63,15 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} + - name: Cache module + uses: actions/cache@v3 + with: + path: ~/shunit2_2.1.8-4_all.deb + key: shunit2-cache - name: Setup shunit 2 - run: sudo apt install shunit2 -y + run: | + wget http://ftp.debian.org/debian/pool/main/s/shunit2/shunit2_2.1.8-4_all.deb -O ~/shunit2_2.1.8-4.deb + sudo apt install -y ~/shunit2_2.1.8-4.deb - name: Run phar tests run: | COMPOSER_BIN="/bin/composer" COMPOSER_OPTIONS="${{ matrix.composer-options }}" ./tests/phar/tests.sh