CI - Daily #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (C) 2024 qBraid | |
# | |
# This file is part of the qBraid-SDK | |
# | |
# The qBraid-SDK is free software released under the GNU General Public License v3 | |
# or later. You can redistribute and/or modify it under the terms of the GPL v3. | |
# See the LICENSE file in the project root or <https://www.gnu.org/licenses/gpl-3.0.html>. | |
# | |
# THERE IS NO WARRANTY for the qBraid-SDK, as per Section 15 of the GPL v3. | |
name: CI - Daily | |
on: | |
schedule: | |
# Runs every day at 9 AM CST (3 PM UTC) | |
- cron: '0 15 * * *' | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: pip | |
- name: Install dependencies | |
run: | | |
python3 -m pip install --upgrade pip setuptools | |
python3 -m pip install tox | |
- name: Tests | |
run: | | |
tox -e unit-tests | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
QISKIT_IBM_TOKEN: ${{ secrets.QISKIT_IBM_TOKEN }} | |
QBRAID_API_KEY: ${{ secrets.QBRAID_API_KEY }} | |
QBRAID_RUN_REMOTE_TESTS: False |