Skip to content

Commit

Permalink
Build/Test Tools: Revert [59214].
Browse files Browse the repository at this point in the history
The commit caused the Performance Tests workflow to fail due to an invalid workflow file.

See #62153.
Unprops @joemcgill.


git-svn-id: https://develop.svn.wordpress.org/trunk@59215 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
joemcgill committed Oct 11, 2024
1 parent e89ae0f commit f12827a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/reusable-performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ on:
secrets:
CODEVITALS_PROJECT_TOKEN:
description: 'The authorization token for https://www.codevitals.run/project/wordpress.'
required: false
default: ''
required: true

env:
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
Expand Down Expand Up @@ -330,12 +329,7 @@ jobs:
COMMITTED_AT: ${{ steps.commit-timestamp.outputs.result }}
CODEVITALS_PROJECT_TOKEN: ${{ secrets.CODEVITALS_PROJECT_TOKEN }}
HOST_NAME: "www.codevitals.run"
run: |
if [ -z "$CODEVITALS_PROJECT_TOKEN" ]; then
echo "Performance results could not be published. 'CODEVITALS_PROJECT_TOKEN' is not set" >> $GITHUB_OUTPUT
exit 1
fi
node ./tests/performance/log-results.js $CODEVITALS_PROJECT_TOKEN trunk $GITHUB_SHA $BASE_SHA $COMMITTED_AT $HOST_NAME
run: node ./tests/performance/log-results.js $CODEVITALS_PROJECT_TOKEN trunk $GITHUB_SHA $BASE_SHA $COMMITTED_AT $HOST_NAME

- name: Ensure version-controlled files are not modified or deleted
run: git diff --exit-code

0 comments on commit f12827a

Please sign in to comment.