Skip to content

Commit be1a964

Browse files
committed
add nightly tests
1 parent 5fab983 commit be1a964

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# This is a basic workflow that is manually triggered
2+
3+
name: nightly_tests_CPU_python10
4+
5+
# Controls when the action will run. Workflow runs when manually triggered using the UI
6+
# or API.
7+
on:
8+
schedule:
9+
- cron: "0 0 * * *"
10+
11+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
12+
jobs:
13+
run_tests:
14+
# The type of runner that the job will run on
15+
runs-on: ubuntu-latest
16+
17+
# Make the default shell a login shell, so that conda is initialised properly
18+
defaults:
19+
run:
20+
shell: bash -el {0}
21+
22+
# Steps represent a sequence of tasks that will be executed as part of the job
23+
steps:
24+
- name: Setup Miniforge
25+
uses: conda-incubator/setup-miniconda@v2
26+
with:
27+
miniforge-version: latest
28+
python-version: "3.10"
29+
- name: pip install
30+
run: |
31+
pip install wakis['notebook']
32+
33+
- name: Print versions
34+
run: conda list
35+
- name: Checkout wakis
36+
uses: actions/checkout@v4
37+
with:
38+
path: wakis
39+
- name: Run pytest
40+
run: |
41+
cd wakis
42+
python -m pytest --color=yes -v -s tests

0 commit comments

Comments
 (0)