Skip to content

Commit

Permalink
Always display summary in actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwilsoncc committed May 8, 2023
1 parent 6b6576b commit 065f658
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
branches:
- develop
jobs:
build:
build:
uses: 10up/safe-redirect-manager/.github/workflows/build-release-zip.yml@develop
cypress:
needs: build
Expand Down Expand Up @@ -45,13 +45,14 @@ jobs:
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: npm install
- name: Set the core version and plugins config
- name: Set the core version and plugins config
run: ./tests/bin/set-wp-config.js --core=${{ matrix.core.version }} --plugins=./${{ github.event.repository.name }}
- name: Set up WP environment
run: npm run env:start
- name: Test
run: npm run cypress:run
- name: Update summary
if: always()
run: |
npx mochawesome-merge ./tests/cypress/reports/*.json -o tests/cypress/reports/mochawesome.json
rm -rf ./tests/cypress/reports/mochawesome-*.json
Expand Down

0 comments on commit 065f658

Please sign in to comment.