From 422ebcf36c95230b53140b861e23cbef1ca9af42 Mon Sep 17 00:00:00 2001 From: Inhere Date: Thu, 17 Nov 2022 17:08:39 +0800 Subject: [PATCH] ci: add -W option on github action tests --- .github/workflows/php.yml | 2 +- .github/workflows/publish-image.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index a3804ff..b23a42c 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -48,7 +48,7 @@ jobs: coverage: none #optional, setup coverage driver: xdebug, none - name: Install dependencies - run: composer update --no-progress + run: composer update --no-progress -W # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit" # Docs: https://getcomposer.org/doc/articles/scripts.md diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index 2b8a6d9..3dd3a5b 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -47,7 +47,7 @@ jobs: - name: Install deps and run run: | - composer update --no-progress + composer update --no-progress -W php bin/kite # Login against a Docker registry except on PR diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 62ecab6..6e94246 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ jobs: echo $RELEASE_NAME tag1=${GITHUB_REF#refs/*/} echo "release tag: ${tag1}" - composer update --no-progress + composer update --no-progress -W # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit" # Docs: https://getcomposer.org/doc/articles/scripts.md