Skip to content

Commit 4e980e6

Browse files
committed
Install a newer version of shunit2
1 parent 19e13be commit 4e980e6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,15 @@ jobs:
6363
uses: shivammathur/setup-php@v2
6464
with:
6565
php-version: ${{ matrix.php-version }}
66+
- name: Cache module
67+
uses: actions/cache@v3
68+
with:
69+
path: ~/shunit2_2.1.8-4_all.deb
70+
key: shunit2-cache
6671
- name: Setup shunit 2
67-
run: sudo apt install shunit2 -y
72+
run: |
73+
wget http://ftp.debian.org/debian/pool/main/s/shunit2/shunit2_2.1.8-4_all.deb -O ~/shunit2_2.1.8-4.deb
74+
sudo apt install -y ~/shunit2_2.1.8-4.deb
6875
- name: Run phar tests
6976
run: |
7077
COMPOSER_BIN="/bin/composer" COMPOSER_OPTIONS="${{ matrix.composer-options }}" ./tests/phar/tests.sh

0 commit comments

Comments
 (0)