Skip to content

Commit

Permalink
Use PHP 8.1 RC1 in test as well (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm authored Oct 2, 2024
1 parent 76c59e1 commit 6d6543c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,19 @@ jobs:
if: matrix.php-version == '8.4'
run: docker build -t php-base --build-arg PHP_VERSION=$PHP_VERSION .
env:
PHP_VERSION: '8.4.0beta3'
PHP_VERSION: '8.4.0RC1'

- name: Output modules
run: docker run php-base php -m

- run: |
num=$(docker run php-base php -r "print null;" | awk 'END {print NR}')
# if this prints a line or 2 that can be warnings and what not. don't want those.
if [ $num != "0" ]
then
exit 1
fi
- name: Check requirements
if: matrix.php-version != '8.4'
run: docker run -w "/test" -v $(pwd):/test php-base composer install

0 comments on commit 6d6543c

Please sign in to comment.