File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed
Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 99 - opened
1010 - reopened
1111 - synchronize
12+ schedule :
13+ - cron : " 0 3 * * *" # time zone is UTC
1214
1315jobs :
1416 fourc-webviewer-code-check :
Original file line number Diff line number Diff line change 1+ name : Testsuite
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ types :
9+ - opened
10+ - reopened
11+ - synchronize
12+ schedule :
13+ - cron : " 0 3 * * *" # time zone is UTC
14+
15+ jobs :
16+ run_pytest :
17+ runs-on : ubuntu-latest
18+ defaults :
19+ run :
20+ shell : bash -l {0}
21+
22+ steps :
23+ - name : Checkout repository
24+ uses : actions/checkout@v3
25+ - name : Set up virtual environment
26+ uses : conda-incubator/setup-miniconda@v3
27+ with :
28+ auto-update-conda : true
29+ conda-remove-defaults : true
30+ activate-environment : 4c-webviewer
31+ python-version : 3.12
32+ - name : Install requirements
33+ shell : bash -el {0}
34+ run : |
35+ conda activate 4c-webviewer
36+ pip install -e .
37+ - name : Run pytest
38+ shell : bash -el {0}
39+ run : |
40+ conda activate 4c-webviewer
41+ pytest --color=yes -v
You can’t perform that action at this time.
0 commit comments