Skip to content

Correct Imbue organization name #310

Correct Imbue organization name

Correct Imbue organization name #310

Workflow file for this run

name: Integration
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
# Reference of mng to test against. Should ideally be a pinned commit on the main branch.
MNG_REF: "ded3b841ffbefb440915b1b06d6da4717d95b7fc"
jobs:
integration:
runs-on: ubuntu-latest
steps:
- name: Checkout offload
uses: actions/checkout@v4
with:
path: offload
- name: Checkout mng
uses: actions/checkout@v4
with:
repository: imbue-ai/mng
ref: ${{ env.MNG_REF }}
token: ${{ secrets.MNGR_ACCESS_TOKEN }}
path: mng
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: Install just
uses: taiki-e/install-action@v2
with:
tool: just
- name: Install uv (Python package manager)
uses: astral-sh/setup-uv@v4
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
with:
workspaces: offload
- name: Install offload (current version)
working-directory: offload
run: just install
- name: Install mng dependencies
working-directory: mng
run: |
uv venv .venv --clear
uv sync --all-packages
uv tool install -e libs/mng
- name: Run integration test
working-directory: mng
env:
MODAL_TOKEN_ID: ${{ secrets.MODAL_TOKEN_ID }}
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_TOKEN_SECRET }}
run: |
source .venv/bin/activate
LAST_COMMIT_SHA=${{ env.MNG_REF }} just test-offload