Skip to content

Commit

Permalink
fix macos build and black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
deadsoul44 committed Jun 7, 2024
1 parent 97cda78 commit 9f51f24
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ jobs:
strategy:
matrix:
pyversion: ["3.11", "3.12"]
platform: [x64, arm64]
runs-on: "macos-latest"
steps:
- uses: actions/checkout@v4
- name: Install latests stable Rust
- name: Install latest stable Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.pyversion }}
architecture: x64
- name: Install deps
run: pip install numpy pandas seaborn scikit-learn toml ucimlrepo
- run: |
Expand All @@ -83,7 +83,6 @@ jobs:
- name: Build wheels with maturin
uses: PyO3/maturin-action@v1
with:
target: x86_64
command: build
args: --release --strip --interpreter python --manifest-path python-package/Cargo.toml --out dist
- name: Install wheel
Expand Down
2 changes: 2 additions & 0 deletions scripts/run-python-tests.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Set-Location python-package
black python/perpetual/
black tests/
maturin develop --release
pytest .
Set-Location ..
2 changes: 2 additions & 0 deletions scripts/run-python-tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
cd python-package
black python/perpetual/
black tests/
maturin develop --release
pytest .
cd ..

0 comments on commit 9f51f24

Please sign in to comment.