Skip to content

docs(contributing): Add test runner example #1657

docs(contributing): Add test runner example

docs(contributing): Add test runner example #1657

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build
# TODO: Run CI on all three platforms.
runs-on: ubuntu-latest
timeout-minutes: 50
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
run: rustup update stable
- name: Check formatting
run: cargo fmt --check
- name: Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Spell check
uses: crate-ci/typos@master
- name: Build
run: cargo build
- name: Test
run: cargo test
timeout-minutes: 20
- name: Checkout test262 submodule
run: git submodule update --init
- name: Test262
run: cargo run --bin test262 -- --noprogress
timeout-minutes: 15
- name: Build binaries and examples
run: cargo build --bins --examples