-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (37 loc) · 817 Bytes
/
miss_hit.yml
File metadata and controls
46 lines (37 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
name: miss_hit
on:
push:
branches:
- main
- dev
paths:
- '**.m'
- .github/workflows/miss_hit.yml
pull_request:
branches: ['*']
paths:
- '**.m'
- .github/workflows/miss_hit.yml
jobs:
miss_hit:
runs-on: ubuntu-latest
strategy:
matrix:
command: [mh_style, mh_metric --ci && mh_lint]
fail-fast: true # cancel all jobs if one fails
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 1
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip3 install -r requirements.txt
- name: ${{ matrix.command }}
run: |
${{ matrix.command }}