Skip to content

chore: Update README (#6) #22

chore: Update README (#6)

chore: Update README (#6) #22

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
merge_group:
types: [checks_requested]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
defaults:
run:
shell: bash
jobs:
tests:
name: ${{ matrix.os }} / ${{ matrix.environment }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
environment: [test-py311, test-py312, test-py313, test-py314]
steps:
- name: Checkout code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Set up pixi
uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6
with:
environments: ${{ matrix.environment }}
# Install strictly from the committed pixi.lock so CI runs against the
# locked dependencies. The lock file is refreshed by the weekly
# update_pixi_lock_files workflow.
frozen: true
- name: Run tests
run: pixi run -e ${{ matrix.environment }} tests
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: probabl-ai/skore-cli