From 8142ead2a07549b27c1e0243cf7c87b61f728cd1 Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Wed, 7 Apr 2021 13:11:25 +0800 Subject: [PATCH] Update main-ci.yml --- .github/workflows/main-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.yml index 8fbad72..857da2b 100644 --- a/.github/workflows/main-ci.yml +++ b/.github/workflows/main-ci.yml @@ -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