Skip to content

Commit f7469c9

Browse files
committed
enh: separate PR and general CI
1 parent 11725fb commit f7469c9

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed
Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish documentation
1+
name: Test master and publish docs
22

33
on:
44
push:
@@ -41,6 +41,15 @@ jobs:
4141
run: |
4242
cmake --build .
4343
44+
- name: Test
45+
shell: bash
46+
working-directory: ${{github.workspace}}/NeuroML_API_build
47+
run: |
48+
ctest
49+
./create_net network.nml
50+
./example network.nml
51+
ls -alt
52+
4453
- name: Generate doxygen documentation
4554
shell: bash
4655
working-directory: ${{github.workspace}}/NeuroML_API_build
@@ -50,4 +59,4 @@ jobs:
5059
- name: Publish documentation on GH pages
5160
working-directory: ${{github.workspace}}/NeuroML_API_build
5261
run: |
53-
ghp-import -n docs/html
62+
ghp-import -m "Regenerate documentation" -b gh-pages -n -p docs/html
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
name: Continuous builds
1+
name: CI on pull requests
22

33
on:
4-
push:
5-
branches: [ master, development ]
64
pull_request:
75
branches: [ master, development ]
86

0 commit comments

Comments
 (0)