Skip to content

Commit

Permalink
feat: enhance CI workflow to support multiple OS environments (#19)
Browse files Browse the repository at this point in the history
* feat: enhance CI workflow to support multiple OS environments

* try os-13

* swap install order

* use numpy 1.* for the runner
  • Loading branch information
yoyolicoris authored Jan 24, 2025
1 parent 5801748 commit b9c9307
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ on:
jobs:
build:

runs-on: ubuntu-latest
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
os: [ubuntu-latest, macos-13]

steps:
- uses: actions/checkout@v3
Expand All @@ -28,7 +29,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
pip install numpy numba
pip install "numpy<2.0" numba
pip install torch --index-url https://download.pytorch.org/whl/cpu
- name: Lint with flake8
run: |
Expand Down

0 comments on commit b9c9307

Please sign in to comment.