Skip to content

MAINT choose mps first #218

MAINT choose mps first

MAINT choose mps first #218

Workflow file for this run

name: Unit Tests
on: [push]
jobs:
build:
strategy:
matrix:
# with macos-latest, we cannot use MPS to allocate memory
# using macos-12 instead
os: [ubuntu-latest, macos-12]
environment: [cpu]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.24.2
environments: ${{ matrix.environment }}
frozen: true
- name: Run tests
run: pixi run -e ${{ matrix.environment }} test-ragger-duck
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: probabl-ai/sklearn-ragger-duck