-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (38 loc) · 1.04 KB
/
test262.yml
File metadata and controls
46 lines (38 loc) · 1.04 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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: Build JavaScript engine
run: |
cargo build --all-features --example js
- name: Run a small test262 subset
if: ${{ !cancelled() }}
env:
FAIL_ON_FAILURE: 'true'
run: |
bash ci/run_test262.sh --limit 130 --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