Skip to content

ci: add Test262 workflow and CI scripts #6

ci: add Test262 workflow and CI scripts

ci: add Test262 workflow and CI scripts #6

Workflow file for this run

name: test262-integration
on:
push:
pull_request:
workflow_dispatch:
jobs:
run-test262-subset:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Install prerequisites
run: |
sudo apt-get update
sudo apt-get install -y git
- name: Run a small test262 subset
if: ${{ !cancelled() }}
env:
FAIL_ON_FAILURE: 'true'
run: |
bash ci/run_test262.sh --limit 10 --fail-on-failure --focus language
- name: Upload results
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v4
with:
name: test262-results
path: test262-results.log
- name: Abort on error
if: ${{ failure() }}
run: echo "Some of jobs failed" && false