File tree Expand file tree Collapse file tree 3 files changed +408
-11
lines changed Expand file tree Collapse file tree 3 files changed +408
-11
lines changed Original file line number Diff line number Diff line change 1- name : book
1+ name : deploy book
22
33on :
44 push :
4242 make bookpage
4343 make book
4444
45- - name : Test Book
46- run : |
47- make test
48-
4945 - name : Deploy book on push
5046 if : ${{ success() && github.event_name == 'push' }}
5147
Original file line number Diff line number Diff line change 1+ name : test book
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ jobs :
12+ build-book :
13+ runs-on : ubuntu-latest
14+ defaults :
15+ run :
16+ shell : bash -l {0}
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v3
20+ with :
21+ persist-credentials : false
22+
23+ # Checks that the schemas are valid
24+ - name : Set up Python
25+ uses : actions/setup-python@v4
26+ with :
27+ python-version : 3.8
28+
29+ - name : Install dependencies
30+ run : |
31+ python -m pip install --upgrade pip setuptools
32+ pip install -r requirements.txt
33+
34+ - name : Python info
35+ run : |
36+ python --version
37+ pip list
38+
39+ - name : Build Book
40+ run : |
41+ make neuroview
42+ make bookpage
43+
44+ - name : Test Book
45+ run : |
46+ make test
You can’t perform that action at this time.
0 commit comments