forked from Qiskit/qiskit
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (32 loc) · 1.07 KB
/
randomized_tests.yml
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
name: Randomized tests
on:
schedule:
- cron: '42 3 * * *'
workflow_dispatch:
jobs:
randomized_tests:
name: Randomized tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
name: Install Python
with:
python-version: '3.8'
- name: Install dependencies
run: |
pip install -U -r requirements.txt -c constraints.txt
pip install -U -r requirements-dev.txt coveralls -c constraints.txt
pip install -c constraints.txt -e .
pip install "qiskit-ibmq-provider" -c constraints.txt
pip install "qiskit-aer"
- name: Run randomized tests
run: make test_randomized
- name: Create comment on failed test run
if: ${{ failure() }}
uses: peter-evans/create-or-update-comment@v1
with:
issue-number: 2645
body: |
Randomized tests failed at commit ${{ github.sha }}.
_Logs_: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}.