Skip to content

Commit 19e13be

Browse files
committed
Use APT to install shunit2
1 parent 9690c4d commit 19e13be

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,10 @@ 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: ~/v2.1.8.tar.gz
70-
key: shunit2-cache
7166
- name: Setup shunit 2
72-
run: ./tests/phar/install-tests.sh
67+
run: sudo apt install shunit2 -y
7368
- name: Run phar tests
7469
run: |
75-
export PATH="$PATH:$HOME/shunit2-2.1.8/"
7670
COMPOSER_BIN="/bin/composer" COMPOSER_OPTIONS="${{ matrix.composer-options }}" ./tests/phar/tests.sh
7771
7872
test-resume-from-parse:

tests/phar/install-tests.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)