Skip to content

Commit

Permalink
wip [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Feb 7, 2023
1 parent 9119b38 commit c8e2f3f
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/daily-wpt-fyi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ on:
description: 'Node.js versions (as supported by actions/setup-node) to test as JSON array'
required: false
default: '["latest-nightly", "current", "lts/*", "lts/-1"]'
schedule:
# This is 20 minutes after `epochs/daily` branch is triggered to be created
# in WPT repo.
# https://github.com/web-platform-tests/wpt/blob/master/.github/workflows/epochs.yml
- cron: '30 0 * * *'
# schedule:
# # This is 20 minutes after `epochs/daily` branch is triggered to be created
# # in WPT repo.
# # https://github.com/web-platform-tests/wpt/blob/master/.github/workflows/epochs.yml
# - cron: '30 0 * * *'

env:
PYTHON_VERSION: '3.11'
Expand All @@ -25,7 +25,7 @@ permissions:

jobs:
report:
if: github.repository == 'nodejs/node'
# if: github.repository == 'nodejs/node'
strategy:
matrix:
node-version: ${{ fromJSON(github.event.inputs.node-versions || '["latest-nightly", "current", "lts/*", "lts/-1"]') }}
Expand Down Expand Up @@ -95,16 +95,16 @@ jobs:
path: out/wpt/wptreport-*.json
name: WPT Reports
if-no-files-found: warn
- name: Upload WPT Report to wpt.fyi API
env:
WPT_FYI_USERNAME: ${{ secrets.WPT_FYI_USERNAME }}
WPT_FYI_PASSWORD: ${{ secrets.WPT_FYI_PASSWORD }}
working-directory: out/wpt
run: |
if [ -e wptreport.json ]; then
gzip wptreport.json
curl \
-u "$WPT_FYI_USERNAME:$WPT_FYI_PASSWORD" \
-F "result_file@wptreport.json.gz" \
https://wpt.fyi/api/results/upload
fi
# - name: Upload WPT Report to wpt.fyi API
# env:
# WPT_FYI_USERNAME: ${{ secrets.WPT_FYI_USERNAME }}
# WPT_FYI_PASSWORD: ${{ secrets.WPT_FYI_PASSWORD }}
# working-directory: out/wpt
# run: |
# if [ -e wptreport.json ]; then
# gzip wptreport.json
# curl \
# -u "$WPT_FYI_USERNAME:$WPT_FYI_PASSWORD" \
# -F "result_file@wptreport.json.gz" \
# https://wpt.fyi/api/results/upload
# fi

0 comments on commit c8e2f3f

Please sign in to comment.