add offline modeling for model jinaai/jina-embeddings-v2-base-code
to avoid auto_map
to other repository
#207
Workflow file for this run
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: Run basic tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
paths: | |
- ".github/workflows/build.yaml" | |
- ".github/workflows/matrix.json" | |
- "integration-tests/**" | |
- "backends/**" | |
- "core/**" | |
- "router/**" | |
- "Cargo.lock" | |
- "rust-toolchain.toml" | |
- "Dockerfile" | |
branches: | |
- 'main' | |
jobs: | |
tests: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
runs-on: | |
group: aws-highmemory-32-plus-priv | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- name: Run sccache-cache | |
uses: mozilla-actions/[email protected] | |
with: | |
version: "v0.10.0" | |
- name: Compile project | |
env: | |
SCCACHE_GHA_ENABLED: "true" | |
RUSTC_WRAPPER: "sccache" | |
run: | | |
sudo apt-get update && sudo apt-get install protobuf-compiler -y | |
cargo test --profile=release-debug |