summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/.github/workflows/manifest.yml
blob: 457861edecd7742c8bdd41e817ded2e7a084a98d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: manifest
on:
  push:
    branches:
      - master
  pull_request:
    paths:
      - 'tools/**'
jobs:
  build-and-tag:
    runs-on: ubuntu-20.04
    steps:
    - name: Set up Python
      uses: actions/setup-python@v4
      with:
        python-version: '3.10'
    - name: Checkout
      uses: actions/checkout@v3
      with:
        fetch-depth: 50
    - name: Install dependencies
      run: |
        sudo apt-get -qqy install zstd
        pip install -r tools/wpt/requirements.txt
    - name: Run manifest_build.py
      # Use a conditional step instead of a conditional job to work around #20700.
      if: github.repository == 'web-platform-tests/wpt'
      run: tools/docker/retry.py --delay 60 python tools/ci/manifest_build.py
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}