Ci v2 (#7282)
* Github: Build and Test Build and Test: - ccache - build - Unittest - install - Unittest of install - report misc: - use .clang-tidy file to configure Clang-tidy checks - use use .pylintrc to configure Pylint checks - Update changed-files Action - better regex for file extension filter - show enabled clang-tidy checks in Step Report - show enabled Pylint Checks - cpplint filter documentation - modified cpplint filters recomended by https://github.com/sider/runners/blob/HEAD/images/cpplint/sider_recommended_CPPLINT.cfg - fixed Branch filter for Clazy QT6 checks --> has only worked on pull requests - fail the CI only on Build errors, Unittest errors and misspellings * Github: remove Codespell action as it is now integrated into the check workflow
This commit is contained in:
488
.github/workflows/checks.yml
vendored
488
.github/workflows/checks.yml
vendored
File diff suppressed because one or more lines are too long
31
.github/workflows/codespell.yml
vendored
31
.github/workflows/codespell.yml
vendored
@@ -1,31 +0,0 @@
|
||||
# GitHub Action to automate the identification of common misspellings in text files.
|
||||
# https://github.com/codespell-project/actions-codespell
|
||||
# https://github.com/codespell-project/codespell
|
||||
|
||||
name: Codespell
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
codespell:
|
||||
name: Check for spelling errors
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v12.2
|
||||
|
||||
- name: List all changed files
|
||||
run: |
|
||||
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
|
||||
echo "$file was changed"
|
||||
done
|
||||
|
||||
- uses: codespell-project/actions-codespell@master
|
||||
with:
|
||||
check_filenames: true
|
||||
ignore_words_file: .github/codespellignore
|
||||
skip: ./.git,*.po,*.ts,*.svg,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./build/
|
||||
path: ${{ steps.changed-files.outputs.all_changed_files }}
|
||||
Reference in New Issue
Block a user