This repository was archived by the owner on Jun 3, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +35
-3
lines changed Expand file tree Collapse file tree 2 files changed +35
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Run nightly tests
2
+ on :
3
+ schedule :
4
+ - cron : ' 0 0 * * *'
5
+
6
+ jobs :
7
+ extensive-python-tests :
8
+ runs-on : ubuntu-latest
9
+ env :
10
+ SPARSEZOO_TEST_MODE : " true"
11
+ NM_DISABLE_ANALYTICS : " true"
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - name : " ⚙️ Install dependencies"
15
+ run : pip3 install .[dev]
16
+ - name : " 🔬 Running tests"
17
+ run : make test TARGETS=full
Original file line number Diff line number Diff line change 1
- name : Basic Test Checks
1
+ name : Basic Test Checks - Unit and Smoke
2
2
on :
3
3
push :
4
4
branches :
19
19
((git diff --name-only origin/main HEAD | grep -E "[src|tests]/sparsezoo|setup.py")
20
20
|| (echo $GITHUB_REF | grep -E "refs/heads/[release/|main]"))
21
21
&& echo "::set-output name=output::1" || echo "::set-output name=output::0"
22
- python -tests :
22
+ unit -tests :
23
23
runs-on : ubuntu-latest
24
24
env :
25
25
SPARSEZOO_TEST_MODE : " true"
31
31
- name : " ⚙️ Install dependencies"
32
32
run : pip3 install .[dev]
33
33
- name : " 🔬 Running tests"
34
- run : make test
34
+ run : make test
35
+ smoke-tests :
36
+ runs-on : ubuntu-latest
37
+ env :
38
+ SPARSEZOO_TEST_MODE : " true"
39
+ NM_DISABLE_ANALYTICS : " true"
40
+ needs : test-setup
41
+ if : ${{needs.test-setup.outputs.python-diff == 1}}
42
+ steps :
43
+ - uses : actions/checkout@v2
44
+ - name : " ⚙️ Install dependencies"
45
+ run : pip3 install .[dev]
46
+ - name : " 🔬 Running tests"
47
+ run : make test
48
+ - name : Run CLI smoke tests
49
+ run : PYTEST_ARGS="-m smoke" make test
You can’t perform that action at this time.
0 commit comments