Skip to content

Commit

Permalink
Install a newer version of shunit2
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Dec 16, 2023
1 parent 19e13be commit 4e980e6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e980e6

Please sign in to comment.