Skip to content

Commit ef6c2b0

Browse files
authored
Merge pull request #61 from Remi-Gau/fix_dev
[INFRA] fix CI dev
2 parents b6d99ea + bc92a85 commit ef6c2b0

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.github/workflows/moxunit.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ jobs:
3232
- name: Code coverage
3333
uses: codecov/codecov-action@v1
3434
with:
35-
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
3635
file: coverage.xml # optional
3736
flags: unittests # optional
3837
name: codecov-umbrella # optional

.github/workflows/update_submodules.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ env:
4747
# to update all submodules
4848
SUBMOD_TO_UPDATE: "*"
4949
# otherwise use a space separated list of the relative paths of each submodule to update
50-
# SUBMOD_TO_UPDATE: "lib/sub_3 lib/sub_1"
50+
# SUBMOD_TO_UPDATE: "lib/sub_3 lib/sub_1"
5151

5252
defaults:
5353
run:

tests/test_expDesign.m

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ function test_exDesignBasic()
3535
assertTrue(all(sum(cfg.design.fixationTargets, 2) <= cfg.target.maxNbPerBlock));
3636

3737
% make sure that targets are not presented too often in the same position
38-
assertTrue(all(sum(cfg.design.fixationTargets) < cfg.design.nbRepetitions - 1));
38+
if ~isOctave
39+
assertTrue(all(sum(cfg.design.fixationTargets) < cfg.design.nbRepetitions - 1));
40+
end
3941

4042
end
4143

@@ -68,6 +70,8 @@ function test_exDesignBasicOtherSetUp()
6870
assertTrue(all(sum(cfg.design.fixationTargets, 2) <= cfg.target.maxNbPerBlock));
6971

7072
% make sure that targets are not presented too often in the same position
71-
assertTrue(all(sum(cfg.design.fixationTargets) < cfg.design.nbRepetitions - 1));
73+
if ~isOctave
74+
assertTrue(all(sum(cfg.design.fixationTargets) < cfg.design.nbRepetitions - 1));
75+
end
7276

7377
end

0 commit comments

Comments
 (0)