Skip to content

Commit

Permalink
CI: pytest add --no-index (not install from pypi)
Browse files Browse the repository at this point in the history
  • Loading branch information
deedy5 committed Apr 13, 2024
1 parent 6407049 commit c6f80ab
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
shell: bash
run: |
set -e
pip install pyreqwest_impersonate --find-links dist --force-reinstall
pip install pyreqwest_impersonate --find-links dist --no-index --force-reinstall
pip install pytest
pytest
Expand Down Expand Up @@ -80,10 +80,11 @@ jobs:
name: wheels-linux-${{ matrix.platform.target }}-python${{ matrix.python-version }}
path: dist
- name: pytest
if: ${{ !startsWith(matrix.platform.target, 'aarch64') }}
shell: bash
run: |
set -e
pip install pyreqwest_impersonate --find-links dist --force-reinstall
pip install pyreqwest_impersonate --find-links dist --no-index --force-reinstall
pip install pytest
pytest
Expand Down Expand Up @@ -118,7 +119,7 @@ jobs:
shell: bash
run: |
set -e
pip install pyreqwest_impersonate --find-links dist --force-reinstall
pip install pyreqwest_impersonate --find-links dist --no-index --force-reinstall
pip install pytest
pytest
Expand Down Expand Up @@ -152,7 +153,7 @@ jobs:
shell: bash
run: |
set -e
pip install pyreqwest_impersonate --find-links dist --force-reinstall
pip install pyreqwest_impersonate --find-links dist --no-index --force-reinstall
pip install pytest
pytest
Expand Down

0 comments on commit c6f80ab

Please sign in to comment.