Merge pull request #20 from cpp-lln-lab/pre-commit-ci-update-config #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: miss_hit | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
fetch-depth: 1 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools | |
pip3 install install miss_hit | |
- name: Miss_hit code quality | |
run: | | |
mh_metric . --ci | |
- name: Miss_hit code style | |
run: | | |
mh_style . |