Skip to content

Bump coverage from 7.2.7 to 7.3.0 #889

Bump coverage from 7.2.7 to 7.3.0

Bump coverage from 7.2.7 to 7.3.0 #889

Workflow file for this run

name: Style check
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
# Trigger on pull requests.
pull_request:
# Trigger on pushes master
push:
branches:
- "master"
# Trigger on request.
workflow_dispatch:
jobs:
clang-tidy:
name: Check C++ Code Style
runs-on: ubuntu-latest
container:
image: glotzerlab/ci:2021.11-clang10_py38
steps:
- uses: actions/checkout@v3.5.3
with:
submodules: true
- name: Install pre-commit
run: python3 -m pip install pre-commit
- name: Build freud and export compile commands
run: |
# glotzerlab ci containers do not come with scikit-build installed
# this install can be removed once scikit-build is in the container
python3 -m pip install scikit-build
python3 setup.py build_ext --inplace -- -DCMAKE_EXPORT_COMPILE_COMMANDS=True
- name: Execute clang-tidy and cppcheck
run: |
pre-commit run cppcheck --all-files --hook-stage=manual
pre-commit run clang-tidy --all-files --hook-stage=manual