Skip to content

Commit

Permalink
Fix pip url
Browse files Browse the repository at this point in the history
  • Loading branch information
classiqdor committed Dec 19, 2024
1 parent 486f48b commit c02d5a9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/Test-CI-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,12 @@ jobs:
- name: Install dependencies
if: steps.cache-pip.outputs.cache-hit != 'true'
run: |
# Some weird behavior, that we should understand soon:
# "pip" defaults to use the aws url, and doesn't use the normal url
# so we need to add the normal pip url to every line..
set -e
python -m pip install -U pip
python -m pip install -U pip \
--extra-index-url https://pypi.org/simple
# Install "classiq" separately
export CODEARTIFACT_AUTH_TOKEN="$( \
Expand All @@ -125,8 +129,10 @@ jobs:
python -m pip list | grep -i classiq
# Install everything from the requirements, other than "classiq".
python -m pip install -U $(grep -ivE "classiq" requirements.txt)
python -m pip install -U -r requirements_tests.txt
python -m pip install -U $(grep -ivE "classiq" requirements.txt) \
--extra-index-url https://pypi.org/simple
python -m pip install -U -r requirements_tests.txt \
--extra-index-url https://pypi.org/simple
#
# Propagate CI information to python tests
Expand Down

0 comments on commit c02d5a9

Please sign in to comment.