File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed
Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 8686 run : |
8787 set -e
8888 python -m pip install -U pip
89- # The `--pre` allows the installation of pre-release versions of packages (needed for Dev)
90- python -m pip install --extra-index-url https://pypi.org/simple --pre -U -r requirements.txt
91- python -m pip install --extra-index-url https://pypi.org/simple -U -r requirements_tests.txt
89+
90+ # Install "classiq" separately
91+ export CODEARTIFACT_AUTH_TOKEN="$( \
92+ aws codeartifact get-authorization-token \
93+ --domain ${{ secrets.CODEARTIFACT_DOMAIN }} \
94+ --domain-owner ${{ secrets.CODEARTIFACT_OWNER }} \
95+ --region ${{ secrets.CODEARTIFACT_REGION }} \
96+ --query authorizationToken \
97+ --output text \
98+ )"
99+ python -m pip install -U --pre \
100+ --extra-index-url "https://aws:$CODEARTIFACT_AUTH_TOKEN@${{ secrets.CODEARTIFACT_DOMAIN }}-${{ secrets.CODEARTIFACT_OWNER }}.d.codeartifact.${{ secrets.CODEARTIFACT_REGION }}.amazonaws.com/pypi/${{ secrets.PYPI_NIGHTLY_NAME }}/simple/" \
101+ classiq
102+
103+ # Install everything from the requirements, other than "classiq".
104+ python -m pip install -U $(grep -ivE "classiq" requirements.txt)
105+ python -m pip install -U -r requirements_tests.txt
92106
93107 #
94108 # Setup Environment
You can’t perform that action at this time.
0 commit comments