Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
df5389d
ci: add comprehensive PR test workflow
aroff Feb 5, 2026
1c3d56f
ci: restrict GITHUB_TOKEN permissions in test workflow
aroff Feb 5, 2026
dd759ea
fix: pin cargo-binstall action to v1.10.16
aroff Feb 5, 2026
804e62d
fix: use taiki-e/install-action for tool installation
aroff Feb 5, 2026
245b9ba
test: add simple workflow to debug startup failures
aroff Feb 5, 2026
e742b7b
fix: simplify test workflow to debug startup failure
aroff Feb 5, 2026
5e5a3d1
fix: rename workflow file to avoid potential conflicts
aroff Feb 5, 2026
ba34856
fix: change workflow name to PR Tests
aroff Feb 5, 2026
a0b58b5
fix: simplify to single job to debug startup failure
aroff Feb 5, 2026
c76f317
feat: add complete PR test workflow with all 6 jobs
aroff Feb 5, 2026
60acd43
test: try with 2 jobs to isolate issue
aroff Feb 5, 2026
bef1088
chore: update Cargo.lock
aroff Feb 5, 2026
a793d9f
fix: add cargo fetch before clippy to ensure dependencies
aroff Feb 5, 2026
b1b1e22
fix: remove --locked flag to avoid crates.io index sync issues
aroff Feb 5, 2026
fc3b99a
fix: repair corrupted workflow YAML
aroff Feb 5, 2026
c45f11c
fix: temporarily allow unwrap_used in clippy for test PR
aroff Feb 5, 2026
2485430
fix: also allow panic in clippy for test PR
aroff Feb 5, 2026
58ac540
feat: add complete 6-job PR test workflow
aroff Feb 5, 2026
db6d6b8
fix: use cargo install instead of blocked taiki-e/install-action
aroff Feb 5, 2026
91df3be
fix: use explicit nextest flags instead of CI profile
aroff Feb 5, 2026
f0dfd8c
fix: exclude E2E snapshot tests from CI
aroff Feb 5, 2026
9736a7b
chore: rename to standard test.yml and add documentation
aroff Feb 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Comprehensive test workflow for pull requests and main branch
# Runs format checks, linting, build validation, and test suite
#
# Note: E2E snapshot tests (install_e2e_tests) are excluded in CI due to
# environment-specific git authentication behavior. These should be run locally.
name: PR Tests

permissions:
contents: read

on:
pull_request:
push:
branches: [main]

jobs:
format-check:
name: Format Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cargo fmt --all -- --check

clippy:
name: Clippy Lints
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --workspace --all-targets --all-features

build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: cargo build --all-features

test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: cargo install cargo-nextest --locked
- run: cargo nextest run --retries 3 --fail-fast -E 'not test(install_e2e_tests)'

test-all-features:
name: Test (All Features)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: cargo install cargo-nextest --locked
- run: cargo nextest run --all-features --retries 3 --fail-fast -E 'not test(install_e2e_tests)'
Loading