Skip to content

Commit 3d532b1

Browse files
committed
update infra
1 parent ffab297 commit 3d532b1

File tree

5 files changed

+79
-4
lines changed

5 files changed

+79
-4
lines changed
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
*.mat
88

99
## virtual env
10-
env/*
11-
venv/*
10+
env/
11+
venv/
1212

1313
## visual studio code
1414
.vscode

miss_hit.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
project_root
2+
3+
14
line_length: 100
25
regex_function_name: "[a-z]+(([A-Z]){1}[A-Za-z]+)*"
36
regex_script_name: "[a-z]+(([A-Z]){1}[A-Za-z]+)*"

0 commit comments

Comments
 (0)