From 26ca0b71826dd6658d9e71b18551b80cece5e291 Mon Sep 17 00:00:00 2001 From: phdhiren Date: Tue, 2 Aug 2022 11:04:32 +0530 Subject: [PATCH] Add nightly build along with deprecation checks (#392) --- .github/workflows/php.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 1100c82a..757e0acd 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -12,7 +12,6 @@ env: APIGEE_EDGE_ACCOUNT_JSON_KEY: ${{ secrets.APIGEE_EDGE_ACCOUNT_JSON_KEY }} APIGEE_EDGE_HYBRID_ENDPOINT: ${{ secrets.APIGEE_EDGE_HYBRID_ENDPOINT }} APIGEE_EDGE_HYBRID_ORGANIZATION: ${{ secrets.APIGEE_EDGE_HYBRID_ORGANIZATION }} - SYMFONY_DEPRECATIONS_HELPER: "disabled" BROWSERTEST_OUTPUT_DIRECTORY: "sites/simpletest/browser_output" BROWSERTEST_OUTPUT_BASE_URL: "" MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", { "chromeOptions": { "w3c": false } }, "http://127.0.0.1:9515/wd/hub"]' @@ -20,6 +19,8 @@ env: on: push: pull_request_target: + schedule: + - cron: '00 01 * * *' jobs: build: @@ -51,6 +52,12 @@ jobs: steps: + - name: Disable deprecations check for PR + if: github.event_name != 'schedule' + run: | + echo "Disable deprecations check" + echo "SYMFONY_DEPRECATIONS_HELPER=disabled" >> $GITHUB_ENV + - name: "Install PHP" uses: "shivammathur/setup-php@v2" with: