Skip to content

Commit f1a614a

Browse files
Make sure CI gets Qiskit dependencies from pypi on stable (#51) (#53)
1 parent 1031572 commit f1a614a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
with:
4343
python-version: ${{ matrix.python-version }}
4444
- uses: ./.github/actions/install-master-dependencies
45-
if: ${{ !startsWith(github.ref, 'refs/heads/stable') }}
45+
if: ${{ !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
4646
- uses: ./.github/actions/install-machine-learning
4747
- name: Install Dependencies
4848
run: |
@@ -95,7 +95,7 @@ jobs:
9595
with:
9696
python-version: ${{ matrix.python-version }}
9797
- uses: ./.github/actions/install-master-dependencies
98-
if: ${{ !startsWith(github.ref, 'refs/heads/stable') }}
98+
if: ${{ !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
9999
- uses: ./.github/actions/install-machine-learning
100100
- run: make lint
101101
if: ${{ !cancelled() }}
@@ -121,7 +121,7 @@ jobs:
121121
python-version: ${{ matrix.python-version }}
122122
- uses: ./.github/actions/install-libraries
123123
- uses: ./.github/actions/install-master-dependencies
124-
if: ${{ !startsWith(github.ref, 'refs/heads/stable') }}
124+
if: ${{ !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
125125
- uses: ./.github/actions/install-machine-learning
126126
- name: Machine Learning Unit Tests under Python ${{ matrix.python-version }}
127127
uses: ./.github/actions/run-tests
@@ -159,7 +159,7 @@ jobs:
159159
with:
160160
python-version: ${{ matrix.python-version }}
161161
- uses: ./.github/actions/install-master-dependencies
162-
if: ${{ !startsWith(github.ref, 'refs/heads/stable') }}
162+
if: ${{ !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
163163
- uses: ./.github/actions/install-machine-learning
164164
- name: Install Dependencies
165165
run: |

0 commit comments

Comments
 (0)