Skip to content

Commit

Permalink
Add night slow test action
Browse files Browse the repository at this point in the history
  • Loading branch information
edyounis committed Mar 26, 2024
1 parent c7a4355 commit 8adb68b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/nightly-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Runs slow tests every night
name: nightly tests

on:
schedule:
- cron: "21 2 * * *
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Upgrade python environment
run: python -m pip install --upgrade virtualenv setuptools pip
- name: Upgrade test dependencies
run: python -m pip install psutil pytest 'hypothesis[zoneinfo]' qiskit
- name: Install BQSKit
env:
SYSTEM_VERSION_COMPAT: 0
run: pip install .
- name: Run tests
env:
NUMBER_RANDOM_CIRCUITS: 100
run: pytest

0 comments on commit 8adb68b

Please sign in to comment.