Skip to content

Commit 5895868

Browse files
authored
Merge pull request #45 from cpp-lln-lab/dev
[INFRA] update submodules
2 parents 2386817 + 3d532b1 commit 5895868

File tree

14 files changed

+168
-22
lines changed

14 files changed

+168
-22
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: miss_hit_quality
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches: ['*']
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
17+
- uses: actions/checkout@v2
18+
with:
19+
submodules: true
20+
fetch-depth: 1
21+
22+
- name: Set up Python 3.6
23+
uses: actions/setup-python@v2
24+
with:
25+
python-version: 3.6
26+
27+
- name: Install dependencies
28+
run: |
29+
python -m pip install --upgrade pip setuptools
30+
pip3 install -r requirements.txt
31+
32+
- name: MISS_HIT Metrics
33+
run: |
34+
mh_metric --ci
35+
36+
- name: MISS_HIT Bug finder
37+
run: |
38+
mh_lint
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: miss_hit_style
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches: ['*']
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
17+
- uses: actions/checkout@v2
18+
with:
19+
submodules: true
20+
fetch-depth: 1
21+
22+
- name: Set up Python 3.6
23+
uses: actions/setup-python@v2
24+
with:
25+
python-version: 3.6
26+
27+
- name: Install dependencies
28+
run: |
29+
python -m pip install --upgrade pip setuptools
30+
pip3 install -r requirements.txt
31+
32+
- name: MISS_HIT Code style
33+
run: |
34+
mh_style

.github/workflows/moxunit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: CI
1+
name: tests and coverage
22

33
on:
44
push:
55
branches:
66
- master
77
pull_request:
8-
branches: '*'
8+
branches: ['*']
99

1010
jobs:
1111
build:

.gitignore

Lines changed: 44 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,51 @@
11
*DS_Store
22

3-
*.m~
4-
*octave-workspace
5-
63
# exclude content of logfiles folders
74
*/logfiles/*
85
*/*/*/logfiles/*
96
*.tsv
107
*.mat
8+
9+
## virtual env
10+
env/
11+
venv/
12+
13+
## visual studio code
14+
.vscode
15+
16+
17+
## MATLAB / OCTAVE gitignore template
18+
19+
# From : https://github.com/github/gitignore/blob/master/Global/MATLAB.gitignore
20+
21+
# Windows default autosave extension
22+
*.asv
23+
24+
# OSX / *nix default autosave extension
25+
*.m~
26+
27+
# Compiled MEX binaries (all platforms)
28+
*.mex*
29+
30+
# Packaged app and toolbox files
31+
*.mlappinstall
32+
*.mltbx
33+
34+
# Generated helpsearch folders
35+
helpsearch*/
36+
37+
# Simulink code generation folders
38+
slprj/
39+
sccprj/
40+
41+
# Matlab code generation folders
42+
codegen/
43+
44+
# Simulink autosave extension
45+
*.autosave
46+
47+
# Simulink cache files
48+
*.slxc
49+
50+
# Octave session info
51+
octave-workspace

.pre-commit-config.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
repos:
2+
3+
- repo: local
4+
5+
hooks:
6+
7+
- id: mh_style
8+
name: mh_style
9+
entry: mh_style
10+
args: [--process-slx, --fix]
11+
files: ^(.*\.(m|slx))$
12+
language: python
13+
additional_dependencies: [miss_hit_core]
14+
15+
- id: mh_metric
16+
name: mh_metric
17+
entry: mh_metric
18+
args: [--ci]
19+
files: ^(.*\.(m|slx))$
20+
language: python
21+
additional_dependencies: [miss_hit_core]
22+
23+
- id: mh_lint
24+
name: mh_lint
25+
entry: mh_lint
26+
files: ^(.*\.(m|slx))$
27+
language: python
28+
additional_dependencies: [miss_hit]
29+
30+
- repo: https://github.com/pre-commit/pre-commit-hooks
31+
rev: v4.0.1
32+
hooks:
33+
- id: trailing-whitespace
34+
- id: end-of-file-fixer
35+
- id: check-yaml
36+
- id: check-added-large-files

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

lib/CPP_PTB

Submodule CPP_PTB updated 159 files

miss_hit.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1+
project_root
2+
3+
14
line_length: 100
25
regex_function_name: "[a-z]+(([A-Z]){1}[A-Za-z]+)*"
6+
regex_script_name: "[a-z]+(([A-Z]){1}[A-Za-z]+)*"
7+
regex_parameter_name: "[a-z]+(([A-Z]){1}[A-Za-z]+)*"
38
suppress_rule: "copyright_notice"
49
exclude_dir: "lib"

0 commit comments

Comments
 (0)