Move agent-related code into new root agent
module
#1288
Workflow file for this run
This file contains 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: Server Unit Tests | |
on: | |
pull_request: | |
branches: [main] | |
paths: | |
- "server/**" | |
- ".github/workflows/server**" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
clippy-test: | |
runs-on: nixos | |
steps: | |
- name: Checkout code | |
uses: nschloe/action-cached-lfs-checkout@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Git LFS | |
run: git lfs install && git lfs pull | |
- name: Rustfmt | |
run: nix develop -c bash -c 'cargo --locked fmt -p bleep -- --check' | |
- name: Clippy | |
run: nix develop -c bash -c 'cargo --locked clippy -p bleep --features=ee' | |
- name: Tests | |
run: nix develop -c bash -c 'cargo --locked test -p bleep --release' | |
- name: Sccache stats | |
run: nix develop -c bash -c 'sccache --show-stats' | |
# benchmark: | |
# runs-on: [self-hosted, benchmark] | |
# steps: | |
# - uses: actions/checkout@v3 | |
# with: | |
# clean: false | |
# lfs: true | |
# - name: Setup Rust toolchain | |
# uses: actions-rs/toolchain@v1 | |
# with: | |
# profile: minimal | |
# toolchain: stable | |
# override: true | |
# - uses: boa-dev/[email protected] | |
# env: | |
# BLOOP_LOG: bleep=debug | |
# with: | |
# cwd: ./server | |
# benchName: "indexes" | |
# branchName: ${{ github.base_ref }} | |
# token: ${{ secrets.GITHUB_TOKEN }} | |
# - uses: boa-dev/[email protected] | |
# env: | |
# BLOOP_LOG: bleep=debug | |
# with: | |
# cwd: ./server | |
# benchName: "queries" | |
# branchName: ${{ github.base_ref }} | |
# token: ${{ secrets.GITHUB_TOKEN }} |