mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-26 20:38:45 +08:00
* Print test names at test time (#1343) * Fix operator| conflict with std::ranges (#1395) * Add test/run-clang-tidy.sh Also, add .clang-tidy configuration file. In test/syntax_check/CMakeLists.txt, make ETL headers non-system headers. Added .github/workflow/clang-tidy.yaml. Does not break the build for now on clang-tidy findings/warnings. Fix syntax issues Those issues were uncovered by making ETL headers non-system headers in test/syntax_checks/CMakeLists.txt * Fix macro syntax --------- Co-authored-by: John Wellbelove <john.wellbelove@etlcpp.com> Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
30 lines
683 B
YAML
30 lines
683 B
YAML
name: clang-tidy
|
|
|
|
on:
|
|
push:
|
|
branches: [ master, development, pull-request/* ]
|
|
pull_request:
|
|
branches: [ master, development, pull-request/* ]
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
clang-tidy:
|
|
name: clang-tidy
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y --no-install-recommends clang clang-tidy
|
|
clang --version
|
|
clang-tidy --version
|
|
run-clang-tidy --version || true
|
|
|
|
- name: Run clang-tidy
|
|
run: |
|
|
test/run-clang-tidy.sh
|