File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow runs on pull requests and nightly
2+ name : pull_request_CPU_python11
3+
4+ on :
5+ # Run tests for every pull request targeting main
6+ pull_request :
7+ branches :
8+ - main
9+ types : [opened, synchronize, reopened]
10+
11+ jobs :
12+ run_tests :
13+ runs-on : ubuntu-latest
14+
15+ defaults :
16+ run :
17+ shell : bash -el {0}
18+
19+ steps :
20+ - name : Checkout repository
21+ uses : actions/checkout@v4
22+ with :
23+ path : wakis
24+
25+ - name : Setup Miniforge
26+ uses : conda-incubator/setup-miniconda@v2
27+ with :
28+ miniforge-version : latest
29+ python-version : " 3.11"
30+
31+ - name : Install wakis
32+ run : |
33+ cd wakis
34+ pip install .['notebook']
35+
36+ - name : Print installed packages
37+ run : conda list
38+
39+ - name : Run pytest
40+ run : |
41+ cd wakis
42+ python -m pytest --color=yes -v -s tests
You can’t perform that action at this time.
0 commit comments