diff --git a/.github/workflows/3x.yml b/.github/workflows/3x.yml index 2da303feb..9b1743905 100644 --- a/.github/workflows/3x.yml +++ b/.github/workflows/3x.yml @@ -14,6 +14,11 @@ on: required: true default: "0" +# Cancel previous runs of this same branch/PR/etc. +concurrency: + group: 'ci-${{ github.head_ref || github.ref }}' + cancel-in-progress: true + jobs: # Checkout in separate job because docker image is alpine based and checkout action doesn't work. checkout_build: @@ -74,7 +79,7 @@ jobs: needs: [ checkout_build ] steps: - name: Install SSH key - uses: webfactory/ssh-agent@v0.5.3 + uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.TERMINUS_SITE_OWNER_SSH_PRIVATE_KEY }} - run: brew update && brew upgrade icu4c @@ -84,7 +89,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} - extensions: gd, mbstring, zip, ssh2-1.3.1, pcov + extensions: gd, mbstring, zip, ssh2-1.4.1, pcov coverage: pcov ini-values: error_reporting=E_ALL - name: Download repo content from artifact @@ -109,13 +114,6 @@ jobs: - name: Functional Tests (arbitrary group) if: ${{ github.event.inputs.functional_tests_group != '' && github.event.inputs.functional_tests_group != 'all' }} run: composer test:group -- ${{ github.event.inputs.functional_tests_group }} - - name: Coverage Report - run: composer coverage - - name: Save coverage as artifact - uses: actions/upload-artifact@v3 - with: - name: CoverageReport - path: docs/TestCoverage.md - name: Finish sesssion if: ${{ always() && github.event.inputs.tmate_enabled == 1 }} run: |