Skip to content

Commit

Permalink
Force whl install in CI to use bash
Browse files Browse the repository at this point in the history
  • Loading branch information
andreped committed Aug 21, 2023
1 parent 181e8bd commit 5070b21
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,7 @@ jobs:
name: "Python wheel"

- name: Install wheel
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
$TARGET = Resolve-Path "./gradient_accumulator-*" | Select -ExpandProperty Path
pip install --find-links=. $TARGET
else
pip install --find-links=. gradient_accumulator-*
fi
run: pip install --find-links=. gradient_accumulator-*
shell: bash

- name: Debug pip deps
Expand Down Expand Up @@ -136,13 +130,7 @@ jobs:
name: "Python wheel"

- name: Install wheel
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
$TARGET = Resolve-Path "./gradient_accumulator-*" | Select -ExpandProperty Path
pip install --find-links=. $TARGET
else
pip install --find-links=. gradient_accumulator-*
fi
run: pip install --find-links=. gradient_accumulator-*
shell: bash

- name: Debug pip deps
Expand Down

0 comments on commit 5070b21

Please sign in to comment.