Skip to content

Improve coverage for Python versions in CICD, and add notes for M1 Metal usage tips #103

Improve coverage for Python versions in CICD, and add notes for M1 Metal usage tips

Improve coverage for Python versions in CICD, and add notes for M1 Metal usage tips #103

Workflow file for this run

name: Python CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest]
python-version: ["3.10"]
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive # This will clone the repository with all its submodules
fetch-depth: 0 # This fetches all history so you can access any version of the submodules
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build pytest
shell: bash
- name: Build DLL
run: |
python -m pip install -e .
shell: bash
- name: Run tests
run: |
python -m pytest tests
shell: bash