Skip to content

Commit a9b20f6

Browse files
authored
Refactor pip install command in CI workflow
Updated CI workflow to handle pip installation failures.
1 parent 920d8e7 commit a9b20f6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ jobs:
1919
with:
2020
python-version: 3.x
2121
- run: pip install --upgrade pip
22+
# TODO: Always fails even with $PYTHON_LIBRT defined!
23+
# When the local pip install fails, install from PyPI
2224
- env:
2325
PYTHON_LIBRT: "amd64" # "x64"
24-
run: pip install --editable . || true # TODO: Always fails even with $PYTHON_LIBRT defined!
25-
- run: pip install lunatic-python-universal # Workaround: Install from PyPI
26+
run: pip install --editable . || pip install lunatic-python-universal
2627
- shell: python # Sanity check
2728
run: |
2829
import lua

0 commit comments

Comments
 (0)