Skip to content

feat: add test image for health check in multimodal models #599

feat: add test image for health check in multimodal models

feat: add test image for health check in multimodal models #599

Workflow file for this run

name: Test
on:
pull_request:
push:
jobs:
tests:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: "${{ matrix.os }}"
steps:
- uses: actions/checkout@v5
- uses: nixbuild/nix-quick-install-action@v34
- name: Restore and save Nix store
uses: nix-community/cache-nix-action@v6
with:
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/devenv.nix', '**/devenv.lock') }}
# if there's no cache hit, restore a cache by this prefix
restore-prefixes-first-match: nix-${{ runner.os }}-
gc-max-store-size: 5G
purge: true
purge-prefixes: nix-${{ runner.os }}-
purge-created: 0
purge-last-accessed: 0
purge-primary-key: never
- name: Install devenv.sh
run: nix profile install nixpkgs#devenv
- name: Model Directories
id: models
uses: actions/cache@v4
with:
path: |
.models
key: ${{ runner.os }}-models
- name: Start processes
run: devenv up -d
- name: Wait for services
run: devenv processes wait
- name: Run tests
run: devenv shell run-tests