My working unpac space for OCaml projects in development
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Publish web-features manifest files (#4702)

* Validate WEB_FEATURES.yml

For every pull request, verify that the `WEB_FEATURES.yml` file is
internally consistent and that the pull request does not reduce the
number of tests associated with a given classifier.

Failing for any reduction in the number of matched tests is intended to
alert contributors during file renaming operations. This failure will
need to be ignored when tests are simply deleted, and this could
potentially become a distraction for maintainers. However, test deletion
has historically been so rare that spurious failures are not expected to
be common enough to substantively interfere with routine maintenance.

* Publish web-features manifest files

For every push to the `main` branch, generate a web-features manifest
file and publish it in compressed form using the GitHub "Release"
feature.

* Revert "Validate WEB_FEATURES.yml"

This reverts commit dd54213352bdab7a34169919ccfc91858eae7eae.

authored by

jugglinmike and committed by
GitHub
08770b4f cd4e4319

+48
+48
vendor/git/test262/.github/workflows/create-release-for-web-features-manifest.yml
··· 1 + name: Create a release for the web-features manifest file 2 + 3 + on: 4 + push: 5 + branches: 6 + - main 7 + 8 + permissions: 9 + contents: write 10 + 11 + jobs: 12 + release: 13 + name: Release web-features manifest 14 + runs-on: ubuntu-24.04 15 + steps: 16 + - name: Checkout 17 + uses: actions/checkout@v4 18 + 19 + - name: Install Python dependencies 20 + run: | 21 + python -m pip install --upgrade pip 22 + pip install -r tools/web-features/requirements.txt 23 + 24 + - name: Generate manifest 25 + run: | 26 + ./tools/web-features/lint.py --manifest WEB_FEATURES_MANIFEST.json 27 + 28 + - name: Compress manifest (bz2) 29 + run: | 30 + tar --bzip2 -cvf WEB_FEATURES_MANIFEST.json.bz2 WEB_FEATURES_MANIFEST.json 31 + 32 + - name: Compress manifest (gz) 33 + run: | 34 + tar --gzip -cvf WEB_FEATURES_MANIFEST.json.gz WEB_FEATURES_MANIFEST.json 35 + 36 + - name: Compress manifest (zst) 37 + run: | 38 + tar --zstd -cvf WEB_FEATURES_MANIFEST.json.zst WEB_FEATURES_MANIFEST.json 39 + 40 + - name: Create release 41 + env: 42 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 43 + run: | 44 + gh release create \ 45 + web-features-manifest-for-$GITHUB_SHA \ 46 + --repo="$GITHUB_REPOSITORY" \ 47 + --title="WEB_FEATURES_MANIFEST for $GITHUB_SHA" \ 48 + WEB_FEATURES_MANIFEST.json.*