File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments