Disable unauthenticated localhost API after Android moves off TCP #43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| lint_and_test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 75 | |
| 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" | |
| # Retries configured in .config/nextest.toml (nextest default path) | |
| # --no-fail-fast: run all tests in this PR subset even when some fail. | |
| # Keep PR CI focused on save-rust smoke coverage. | |
| # Backend/P2P-heavy tests run in save-dweb-backend and/or dedicated workflows. | |
| run: > | |
| cargo nextest run | |
| --profile ci-virtual | |
| --no-fail-fast | |
| -E 'test(basic_test) | test(test_health_endpoint) | test(test_upload_list_delete)' |