diff --git a/.github/ci-policy.md b/.github/ci-policy.md index 5ff43d400..03dc510e8 100644 --- a/.github/ci-policy.md +++ b/.github/ci-policy.md @@ -181,6 +181,7 @@ main-breakage rate (issues labelled `main-broken`) proves out. | -------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | | nix ci | — (PR proxy check is in the dedicated workflow below) | proxy port fallbacks + full flake-check (formatting auto-fixed on main by the auto-format workflow) | schedule in nix-ci.yml | | proxy-port-fallbacks | `basic: proxy port fallbacks` on `pull_request` | — (main copy remains in nix-ci.yml) | — | +| atlas-search | `basic: atlas-search Rust checks` on pull requests touching `pkgs/atlas-search/**` | — | — | | deploy-flake-checks | `basic: deploy flake checks (deploy-list + deploy-list-malformed)` on `pull_request` (paths `pkgs/deploy/**`, `lib/default.nix`, the workflow itself) | full flake check in nix ci | — | | workflow-lint | `basic: workflow lint` on `pull_request` (paths `.github/workflows/**`, `.github/actions/**`) | — | — | | id | guard + affected-crate matrix (`id-pr-checks.txt`) | + full `nix flake check ./pkgs/id` job | schedule in id-check.yml + id-e2e-nightly.yml (full flake check) | diff --git a/.github/workflows/atlas-search-pr.yml b/.github/workflows/atlas-search-pr.yml new file mode 100644 index 000000000..81c803539 --- /dev/null +++ b/.github/workflows/atlas-search-pr.yml @@ -0,0 +1,37 @@ +name: atlas-search + +# CI tier policy: see .github/ci-policy.md +# +# No `cargo fmt --check` step: the policy is that formatting is not a +# merge gate (formatting is auto-fixed on main by auto-format.yml), so +# this basic-tier job runs tests only. + +on: + pull_request: + paths: + - "pkgs/atlas-search/**" + - ".github/workflows/atlas-search-pr.yml" + +permissions: + contents: read + +concurrency: + group: atlas-search-${{ github.ref }} + cancel-in-progress: true + +jobs: + atlas-search: + name: "basic: atlas-search Rust checks" + runs-on: ubuntu-latest + timeout-minutes: 20 + steps: + - uses: actions/checkout@v7 + + - name: Install Rust toolchain + run: rustup toolchain install 1.99.0 --profile minimal + + - name: Test atlas-search + run: cargo +1.99.0 test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-search + + - name: Test atlas-core + run: cargo +1.99.0 test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-core