Make WordPress Core


Ignore:
Timestamp:
02/26/2021 02:28:02 PM (4 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Avoid attempting to redeclare the origin remote prior to sending the test results to the test reporting API.

Props desroj
See #51734

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/phpunit-tests.yml

    r50441 r50442  
    215215          path: 'test-runner'
    216216
    217       - name: Set up the Git repository
    218         if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/master' && matrix.report }}
    219         run: |
    220           git init
    221           git remote add origin https://github.com/WordPress/wordpress-develop.git
    222           git fetch
    223           git reset origin/master
    224 
    225217      - name: Submit test results to the WordPress.org host test results
    226218        if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/master' && matrix.report }}
Note: See TracChangeset for help on using the changeset viewer.