11
11
fail-fast : false
12
12
matrix :
13
13
cfg :
14
+ - os : windows-latest
15
+ python-version : " 3.6"
16
+ - os : windows-latest
17
+ python-version : " 3.7"
18
+ - os : windows-latest
19
+ python-version : " 3.8"
20
+ - os : windows-latest
21
+ python-version : " 3.9"
14
22
- os : ubuntu-latest
15
23
python-version : " 3.6"
16
24
- os : ubuntu-latest
@@ -37,23 +45,23 @@ jobs:
37
45
python-version : ${{ matrix.cfg.python-version }}
38
46
- run : pip install poetry
39
47
- run : poetry install
40
- -
uses :
pre-commit/[email protected]
48
+ - if : matrix.cfg.os != 'windows-latest'
49
+ uses :
pre-commit/[email protected]
41
50
with :
42
51
extra_args : --verbose --all-files
43
52
44
53
- run : poetry run pytest tests/test_nb_run.py # run without extras
45
54
- run : poetry install
46
55
- run : poetry run pytest --cov-report=xml --cov=src
47
-
48
- - run : poetry run python -m ipykernel install --user --name nbmake
49
- - run : poetry run jb build -W -n --keep-going --builder html docs
50
-
51
56
- uses : codecov/codecov-action@v1
52
57
with :
53
58
file : coverage.xml
54
59
55
- - name : GitHub Pages action
56
- if : github.ref == 'refs/heads/main' && matrix.cfg.publish-docs
60
+ - if : github.ref == 'refs/heads/main' && matrix.cfg.publish-docs
61
+ run : |
62
+ poetry run python -m ipykernel install --user --name nbmake
63
+ poetry run jb build -W -n --keep-going --builder html docs
64
+ - if : github.ref == 'refs/heads/main' && matrix.cfg.publish-docs
57
65
58
66
with :
59
67
github_token : ${{ secrets.GITHUB_TOKEN }}
96
104
-n=auto \
97
105
teachopencadd/talktorials/T000_template/talktorial.ipynb \
98
106
teachopencadd/talktorials/T002_compound_adme/talktorial.ipynb \
99
- teachopencadd/talktorials/T003_compound_unwanted_substructures/talktorial.ipynb \
100
107
teachopencadd/talktorials/T004_compound_similarity/talktorial.ipynb \
101
108
teachopencadd/talktorials/T005_compound_clustering/talktorial.ipynb \
102
109
teachopencadd/talktorials/T007_compound_activity_machine_learning/talktorial.ipynb \
0 commit comments