Skip to content

Commit

Permalink
Run setup-python action before trying to run pip
Browse files Browse the repository at this point in the history
  • Loading branch information
maffoo committed Oct 3, 2024
1 parent 68234a1 commit 56e1e69
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ jobs:
needs: [lint, check-msrv, examples]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
continue-on-error: true
Expand All @@ -160,6 +161,7 @@ jobs:
needs: [lint, check-msrv, examples]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
continue-on-error: true
Expand Down Expand Up @@ -223,6 +225,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install OpenBLAS
run: sudo apt install --yes libopenblas-dev
- name: Install Rust
Expand All @@ -240,6 +243,7 @@ jobs:
needs: [lint, check-msrv, examples]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install numpy
run: pip install "numpy" ml_dtypes
- uses: Swatinem/rust-cache@v2
Expand Down

0 comments on commit 56e1e69

Please sign in to comment.