Skip to content

Commit bc4afcd

Browse files
Merge pull request #2058 from lightpanda-io/wpt-diff
Wpt diff
2 parents f4802b4 + ea87fc2 commit bc4afcd

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/wpt.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,34 @@ jobs:
153153

154154
- name: format and send json result
155155
run: /perf-fmt wpt ${{ github.sha }} wpt.json
156+
157+
wptdiff:
158+
name: perf-fmt
159+
needs: perf-fmt
160+
161+
runs-on: ubuntu-latest
162+
163+
steps:
164+
- uses: actions/checkout@v6
165+
with:
166+
repository: 'lightpanda-io/demo'
167+
fetch-depth: 0
168+
169+
- run: |
170+
cd ./wptdiff
171+
CGO_ENABLED=0 go build
172+
173+
- run: |
174+
./wptdiff/wptdiff |tee diff.log
175+
176+
- name: Send regression to slack
177+
uses: slackapi/slack-github-action@v3.0.1
178+
with:
179+
errors: true
180+
method: files.uploadV2
181+
token: ${{ secrets.CI_SLACK_BOT_TOKEN }}
182+
payload: |
183+
channel_id: ${{ vars.WPT_SLACK_CHANNEL_ID }}
184+
initial_comment: "Last WPT regressions"
185+
file: "./diff.log"
186+
filename: "wpt-regression-${{ github.sha }}.txt"

0 commit comments

Comments
 (0)