Skip to content

Commit ce25a41

Browse files
committed
Use apt and absolute paths to force PHP 7.4
1 parent 8edc6b8 commit ce25a41

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ubuntu-latest
66
steps:
77
- name: Install system package dependencies
8-
run: sudo apt-get update && sudo apt-get install composer php-sqlite3
8+
run: sudo apt update && sudo apt install composer php-sqlite3
99

1010
- name: Checkout latest Nextcloud
1111
uses: actions/checkout@v2
@@ -28,8 +28,8 @@ jobs:
2828

2929
- name: Install PHP dependencies with composer
3030
working-directory: ./nextcloud/apps/user_backend_sql_raw
31-
run: composer install
31+
run: php7.4 /usr/bin/composer install
3232

3333
- name: Run all tests
3434
working-directory: ./nextcloud/apps/user_backend_sql_raw
35-
run: vendor/phpunit/phpunit/phpunit
35+
run: php7.4 ./vendor/phpunit/phpunit/phpunit

0 commit comments

Comments
 (0)