MAINT use the current environmnet #221
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: 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 |