Changeset 49786
- Timestamp:
- 12/10/2020 07:17:28 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/phpunit-tests.yml
r49784 r49786 121 121 # - Run the PHPUnit tests. 122 122 # - Checks out the WordPress Test reporter repository. 123 # - Reconnect the directory to the Git repository. 123 124 # - Submit the test results to the WordPress.org host test results. 124 125 # - todo: Configure Slack notifications for failing tests. … … 280 281 path: 'test-runner' 281 282 283 - name: Set up the Git repository 284 if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/master' && matrix.report }} 285 run: | 286 git init 287 git remote add origin https://github.com/WordPress/wordpress-develop.git 288 git fetch 289 git reset origin/master 290 282 291 - name: Submit test results to the WordPress.org host test results 283 292 if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/master' && matrix.report }} 284 293 env: 285 294 WPT_REPORT_API_KEY: "${{ secrets.WPT_REPORT_API_KEY }}" 286 run: docker-compose run --rm -e "$WPT_REPORT_API_KEY"-e WPT_PREPARE_DIR=/var/www -e WPT_TEST_DIR=/var/www php php test-runner/report.php295 run: docker-compose run --rm -e WPT_REPORT_API_KEY -e WPT_PREPARE_DIR=/var/www -e WPT_TEST_DIR=/var/www php php test-runner/report.php
Note: See TracChangeset
for help on using the changeset viewer.