Skip to content

Veilid dependency upgrade #35

Veilid dependency upgrade

Veilid dependency upgrade #35

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
lint_and_test:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- name: Set up Rust toolchain
uses: hecrj/setup-rust-action@v2
with:
rust-version: stable
- name: Check out the code
uses: actions/checkout@v4
- name: Install Clippy
run: rustup component add clippy
- name: Run Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Install cargo-nextest
run: cargo install cargo-nextest --locked
- name: Run tests with retries
env:
RUST_MIN_STACK: 8388608
SAVE_VEILID_LOCAL_TEST_MODE: "1"
SAVE_VEILID_TEST_NETWORK_KEY: save-rust-ci-${{ github.run_id }}-${{ github.run_attempt }}
# Retries configured in .config/nextest.toml (nextest default path)
# --no-fail-fast: run all tests in this PR subset even when some fail.
# Exclude long P2P network convergence tests from PR CI; run them in dedicated/nightly workflows.
run: >
cargo nextest run
--test-threads=1
--no-fail-fast
-E 'not (test(test_join_group) | test(test_replicate_group) | test(test_refresh_joined_group) | test(test_idempotent_create_repo_after_join))'