Skip to content

Commit f05595e

Browse files
committed
workflows/package-tests: activate venv when necessary
1 parent fa47351 commit f05595e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,11 @@ jobs:
5151
run: |
5252
pip install uv
5353
uv venv
54+
# FIXME: https://github.com/astral-sh/uv/issues/1386
5455
echo "VIRTUAL_ENV=.venv" >> $GITHUB_ENV
5556
- name: Check Python version
5657
run: |
58+
# FIXME: https://github.com/astral-sh/uv/issues/1910
5759
source $VIRTUAL_ENV/bin/activate
5860
python --version
5961
- name: Restore packages
@@ -74,6 +76,8 @@ jobs:
7476
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 }}

0 commit comments

Comments
 (0)