Skip to content

Commit

Permalink
Finalizing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mldiego committed Oct 18, 2023
1 parent ca1d5f5 commit 6383270
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,4 @@ jobs:
- name: Run all tests
uses: matlab-actions/run-command@v1
with:
command: disp('Running NNV custom testing procedure!'); diary github_actions.txt; disp('creating file for testing'); diary off; cd("code/nnv"); install; disp(pwd); disp(is_github_actions()); results = runtests('tests', 'IncludeSubfolders', true); assertSuccess(results);
# command: disp('Running NNV custom testing procedure!'); mkdir('/github_actions-true'); cd("code/nnv"); install; results = runtests('tests', 'IncludeSubfolders', true); assertSuccess(results);
command: disp('Running NNV custom testing procedure!'); diary github_actions.txt; disp('creating file for testing'); diary off; cd("code/nnv"); install; results = runtests('tests', 'IncludeSubfolders', true); assertSuccess(results);
6 changes: 0 additions & 6 deletions code/nnv/engine/utils/is_github_actions.m
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
function out = is_github_actions()
nnvpath = nnvroot();
file_path = [nnvpath, '/github_actions.txt'];
% for debugging
disp(nnvpath);
disp(file_path);
allfiles = dir(nnvpath);
tableFiles = struct2table(allfiles);
disp(tableFiles);
if isfile(file_path)
out = 1;
% 'github actions detected'
Expand Down
13 changes: 1 addition & 12 deletions code/nnv/tests/tutorial/test_all_tutorial.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,11 @@
verify_onnx_vnnlib;
end

%% 2) NN: GTSRB (verify_falsify_1)
cd ../GTSRB;
verify_falsify_1;

%% 3) NN: GTSRB (verify_robust_13)
cd ../GTSRB;
verify_robust_13;

%% 4) NN: GTSRB (verify_robust_27)
verify_robust_27;

%% 5) NN: GTSRB (verify_unknown_1)
verify_unknown_1;

%% 6) NN: MNIST (input set examples)
cd ../MNIST;
input_set_examples;
Expand All @@ -42,9 +34,6 @@
cd ../../AEBS;
reach;

%% 12) NNCS: AEBS (reach_full_brake)
reach_full_brake;

%% 13) NNCS: Inverted Pendulum
cd ../InvertedPendulum;
reach_invP;
Expand Down

0 comments on commit 6383270

Please sign in to comment.