Skip to content

Upload test coverage info to Codecov #16

Upload test coverage info to Codecov

Upload test coverage info to Codecov #16

Workflow file for this run

name: tidy
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
clang-tidy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: sudo apt install libsndfile1-dev libliquid-dev nlohmann-json3-dev meson clang-tidy
- name: meson setup
run: meson setup -Dwerror=true build
- name: compile
run: cd build && meson compile
- name: run clang-tidy
run: clang-tidy -p build `find src -name '*.cc' -o -name '*.h'`
perl-critic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install perl-critic
run: sudo apt install libtest-perl-critic-perl
- name: run perl-critic
run: |
perl -e "use Test::Perl::Critic (-severity => 3);all_critic_ok('.')"