Skip to content

Merge pull request #13 from cpp-lln-lab/dependabot/github_actions/act… #26

Merge pull request #13 from cpp-lln-lab/dependabot/github_actions/act…

Merge pull request #13 from cpp-lln-lab/dependabot/github_actions/act… #26

Workflow file for this run

---
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@v4
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 }}