File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 4343 python-version : ['3.9', '3.10', '3.11', '3.12']
4444 os : ["ubuntu-latest"]
4545 steps :
46+ - name : Checkout examples # FIXME: ship examples with source distribution
47+ uses : actions/checkout@v4
48+ with :
49+ sparse-checkout : |
50+ examples
51+ sparse-checkout-cone-mode : false
4652 - name : Set up Python ${{ matrix.python-version }}
4753 uses : actions/setup-python@v5
4854 with :
5157 run : |
5258 pip install uv
5359 uv venv
60+ # FIXME: https://github.com/astral-sh/uv/issues/1386
5461 echo "VIRTUAL_ENV=.venv" >> $GITHUB_ENV
5562 - name : Check Python version
5663 run : |
64+ # FIXME: https://github.com/astral-sh/uv/issues/1910
5765 source $VIRTUAL_ENV/bin/activate
5866 python --version
5967 - name : Restore packages
@@ -66,14 +74,10 @@ jobs:
6674 # there is only one wheel in dist/
6775 echo "qiskit==${{ matrix.qiskit-version }}" > override.txt
6876 uv pip install --strict --override override.txt "qiskit-aqt-provider[examples] @ $(ls dist/*.whl)"
69- - name : Checkout examples # FIXME: ship examples with source distribution
70- uses : actions/checkout@v4
71- with :
72- sparse-checkout : |
73- examples
74- sparse-checkout-cone-mode : false
7577 - name : Run examples
7678 run : |
79+ # FIXME: https://github.com/astral-sh/uv/issues/1910
80+ source $VIRTUAL_ENV/bin/activate
7781 ./examples/run_all.sh
7882 # tests:
7983 # name: tests-py${{ matrix.python-version }}-qiskit${{ matrix.qiskit-version }}-resolve-${{ matrix.resolution-strategy }}
You can’t perform that action at this time.
0 commit comments