Skip to content

Commit e20affc

Browse files
committed
update continuous integration
- create github action workflow - remove travis
1 parent 00912ab commit e20affc

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed

.github/workflows/moxunit.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
with:
13+
submodules: true
14+
fetch-depth: 1
15+
- uses: agahkarakuzu/moxunit-action@master
16+
with:
17+
src: src
18+
with_coverage: true
19+
cover_xml_file: coverage.xml
20+
- uses: codecov/codecov-action@v1
21+
with:
22+
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
23+
file: coverage.xml # optional
24+
flags: unittests # optional
25+
name: codecov-umbrella # optional
26+
fail_ci_if_error: true # optional (default = false)

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ before_script:
3434

3535
jobs:
3636
include:
37-
- stage: "Tests"
38-
name: "Unit and integration Tests"
39-
script: octave $OCTFLAGS --eval "results = runTests; assert(all(~[results.Failed]))"
37+
# - stage: "Tests"
38+
# name: "Unit and integration Tests"
39+
# script: octave $OCTFLAGS --eval "results = runTests; assert(all(~[results.Failed]))"
4040
- stage: "BIDS validator"
4141
name: "Create and check dataset"
4242
script: cd manualTests && octave $OCTFLAGS --eval "test_makeRawDataset" && bids-validator `pwd`/output/rawdata/ --ignoreNiftiHeaders

0 commit comments

Comments
 (0)