Skip to content

fix idkc and ic

fix idkc and ic #1

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
environment: [test]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # 确保拉取完整的 Git 历史记录
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build setuptools-scm
- name: Build the package
run: python -m build # 确保生成 _version.py 文件
- name: Run tests
run: pixi run -e ${{ matrix.environment }} test
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: IsolationKernel/ikpykit