Update main-ci.yml

This commit is contained in:
Shao Yu-Lung (Allen) 2021-04-07 13:11:25 +08:00 committed by GitHub
parent 2a1e534735
commit 8142ead2a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@ jobs:
env:
PHP_VERSION: ${{ matrix.php_version }}
run: |
set -eux;
cp env-example .env
sed -i -- '99,313s/=false/=true/g' .env
sed -i -- 's/CHANGE_SOURCE=true/CHANGE_SOURCE=false/g' .env
@ -37,7 +38,9 @@ jobs:
sed -i -- 's/IONCUBE=true/IONCUBE=false/g' .env
sed -i -- 's/V8JS=true/V8JS=false/g' .env
docker-compose build ${{ matrix.service }}
docker-compose run --rm --no-deps -- ${{ matrix.service }} php -m
docker-compose up -d --no-deps -- ${{ matrix.service }}
docker-compose exec -- ${{ matrix.service }} php -m
docker-compose down
build-other:
runs-on: ubuntu-latest