Skip to content

Commit

Permalink
Merge bf0ae54 into 3662b34
Browse files Browse the repository at this point in the history
  • Loading branch information
rathishcholarajan committed Apr 19, 2022
2 parents 3662b34 + bf0ae54 commit b8364db
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/unit-tests-terra-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# This code is part of Qiskit.
#
# (C) Copyright IBM 2022.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or derivative works of this code must retain this
# copyright notice, and modified files need to carry a notice indicating
# that they have been altered from the originals.

name: Unit Tests
on:
schedule:
- cron: '0 5 * * *'
workflow_dispatch:
jobs:
unit-tests-latest-qiskit-terra:
name: Run unit tests with latest code of qiskit-terra
runs-on: "ubuntu-latest"
env:
LOG_LEVEL: DEBUG
STREAM_LOG: True
QISKIT_IN_PARALLEL: True
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -c constraints.txt -e .
pip install -U -c constraints.txt -r requirements-dev.txt
pip install -U git+https://github.com/Qiskit/qiskit-terra.git
- name: Run tests
# running unit tests against latest (non-released) code of qiskit-terra gives a basic level
# of confidence that the integration between qiskit-ibm-provider and qiskit-terra works
run: make unit-test

0 comments on commit b8364db

Please sign in to comment.