forked from Qiskit/qiskit
-
Notifications
You must be signed in to change notification settings - Fork 0
66 lines (61 loc) · 2.01 KB
/
on-nightly.yml
File metadata and controls
66 lines (61 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
# Nightly cromplete matrix tests.
# This job only runs on the default branch `main` on the
# specified schedule below.
name: Nightly Main tests
on:
schedule:
- cron: "20 6 * * *"
workflow_dispatch:
concurrency:
group: ${{ github.repository }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
nightly-linux:
if: ${{ github.repository_owner == 'Qiskit'}}
uses: ./.github/workflows/test-linux.yml
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
runner: ["ubuntu-latest", "ubuntu-24.04-arm"]
with:
python-version: ${{ matrix.python-version }}
install-optionals: true
runner: ${{ matrix.runner }}
nightly-mac:
if: ${{ github.repository_owner == 'Qiskit'}}
uses: ./.github/workflows/test-mac.yml
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
runner: ["macos-14"]
with:
python-version: ${{ matrix.python-version }}
install-optionals: true
runner: ${{ matrix.runner }}
nightly-windows:
if: ${{ github.repository_owner == 'Qiskit'}}
uses: ./.github/workflows/test-windows.yml
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
runner: ["windows-latest"]
with:
python-version: ${{ matrix.python-version }}
install-optionals: true
runner: ${{ matrix.runner }}
nightly-failure:
name: Create comment on failed test run
if: ${{ github.repository_owner == 'Qiskit' && failure() }}
runs-on: ubuntu-latest
needs: [nightly-linux, nightly-mac, nightly-linux]
steps:
- name: "Create comment on failed test run"
run: gh issue comment "$NUMBER" --body "$BODY"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: 7864
BODY: >
Randomized tests failed at commit ${{ github.sha }}.
_Logs_: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}