-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test fast on push/PR and all on schedule.
- Loading branch information
1 parent
15b834b
commit 45487c1
Showing
2 changed files
with
30 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Run all Qadence tests on schedule. | ||
|
||
on: | ||
schedule: | ||
# 03:00 every Saturday morning | ||
- cron: '0 3 * * 6' | ||
workflow_dispatch: {} | ||
|
||
concurrency: | ||
group: ${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test_qadence_ubuntu: | ||
name: Test Qadence (ubuntu) | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Select Python 3.10 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- name: Install Hatch | ||
run: | | ||
pip install hatch | ||
- name: Run tests | ||
run: | | ||
hatch -v run test |
11 changes: 2 additions & 9 deletions
11
.github/workflows/test.yml → .github/workflows/test_fast.yml
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