Skip to content

Commit

Permalink
Disable networking before installing local package
Browse files Browse the repository at this point in the history
Workaround-For: PyO3/maturin#1971
  • Loading branch information
chrysn committed Jun 19, 2024
1 parent d4c40ef commit 57b6d02
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/maturin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
# * remove the "Upload to GitHub release" step
# * remove the emscripten / pytest step -- this fails for reasons that are too
# hard to to debug right now
# * added --no-index to local package installation as
# workaround for https://github.com/PyO3/maturin/issues/1971
#
name: CI

Expand Down Expand Up @@ -64,7 +66,7 @@ jobs:
shell: bash
run: |
set -e
pip install cbor-diag --find-links dist --force-reinstall
pip install cbor-diag --no-index --find-links dist --force-reinstall
pip install pytest
pytest
- name: pytest
Expand All @@ -80,7 +82,7 @@ jobs:
pip3 install -U pip pytest
run: |
set -e
pip3 install cbor-diag --find-links dist --force-reinstall
pip3 install cbor-diag --no-index --find-links dist --force-reinstall
pytest
windows:
Expand Down Expand Up @@ -114,7 +116,7 @@ jobs:
shell: bash
run: |
set -e
pip install cbor-diag --find-links dist --force-reinstall
pip install cbor-diag --no-index --find-links dist --force-reinstall
pip install pytest
pytest
Expand Down Expand Up @@ -148,7 +150,7 @@ jobs:
shell: bash
run: |
set -e
pip install cbor-diag --find-links dist --force-reinstall
pip install cbor-diag --no-index --find-links dist --force-reinstall
pip install pytest
pytest
Expand Down

0 comments on commit 57b6d02

Please sign in to comment.