Skip to content

Commit

Permalink
Make sure CI gets Qiskit dependencies from pypi on stable (#140) (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
manoelmarques authored Apr 14, 2021
1 parent 82592df commit 7a97455
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- uses: ./.github/actions/install-libraries
- uses: ./.github/actions/install-master-dependencies
if: ${{ !startsWith(github.ref, 'refs/heads/stable') }}
if: ${{ !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
- uses: ./.github/actions/install-nature
- name: Install Dependencies
run: |
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- uses: ./.github/actions/install-libraries
- uses: ./.github/actions/install-master-dependencies
if: ${{ !startsWith(github.ref, 'refs/heads/stable') }}
if: ${{ !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
- uses: ./.github/actions/install-nature
- run: make lint
if: ${{ !cancelled() }}
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
if: ${{ matrix.python-version < 3.8 }}
- uses: ./.github/actions/install-libraries
- uses: ./.github/actions/install-master-dependencies
if: ${{ !startsWith(github.ref, 'refs/heads/stable') }}
if: ${{ !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
- uses: ./.github/actions/install-nature
- name: Install Dependencies
run: |
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- uses: ./.github/actions/install-libraries
- uses: ./.github/actions/install-master-dependencies
if: ${{ !startsWith(github.ref, 'refs/heads/stable') }}
if: ${{ !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
- uses: ./.github/actions/install-nature
- name: Install Dependencies
run: |
Expand Down

0 comments on commit 7a97455

Please sign in to comment.