agaahds
This commit is contained in:
parent
81f84ee16c
commit
5a48425858
2
.github/workflows/CPP.yml
vendored
2
.github/workflows/CPP.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
- name: Installing dependencies..
|
||||
run: if ! apt list --installed | grep -qP ".*cppcheck.*"; then apt install -y cppcheck; fi
|
||||
- name: Linting..
|
||||
run: for file in $(git --no-pager diff --name-only origin/master | grep -o ".*\.cpp") ;do cppcheck "$file";done
|
||||
run: cd "$GITHUB_WORKSPACE" && for file in $(git ls-tree --name-only -r ${{ github.sha }} | grep '.*\.cpp'); do cppcheck "$file"; done
|
||||
# Kernel specific builds
|
||||
build-gcc-cpp:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
2
.github/workflows/clang.yml
vendored
2
.github/workflows/clang.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
- name: Installing dependencies..
|
||||
run: if ! apt-list --installed cppcheck | grep -q ".*cppcheck.*"; then sudo apt install -y cppcheck; fi
|
||||
- name: Linting..
|
||||
run: for file in $(git --no-pager diff --name-only origin/master | grep -o ".*\.c"); do cppcheck "$file";done
|
||||
run: cd "$GITHUB_WORKSPACE" && for file in $(git ls-tree --name-only -r ${{ github.sha }} | grep '.*\.c'); do cppcheck "$file"; done
|
||||
## Valgrind test on gcc
|
||||
valgrind-gcc:
|
||||
runs-on: ubuntu-latest
|
||||
|
2
.github/workflows/python.yml
vendored
2
.github/workflows/python.yml
vendored
@ -36,4 +36,4 @@ jobs:
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pip install pytest
|
||||
for file in $(git --no-pager diff --name-only origin/master | grep -o ".*\.py") ;do pytest "$file";done
|
||||
cd "$GITHUB_WORKSPACE" && for file in $(git ls-tree --name-only -r ${{ github.sha }} | grep '.*\.py'); do pytest "$file"; done
|
2
.github/workflows/shell.yml
vendored
2
.github/workflows/shell.yml
vendored
@ -16,4 +16,4 @@ jobs:
|
||||
- name: Installing dependencies..
|
||||
run: if ! apt list --installed | grep -qP ".*shellcheck.*"; then apt install -y shellcheck; fi
|
||||
- name: Linting..
|
||||
run: for file in $(git --no-pager diff --name-only origin/master | grep -o ".*\.sh") ;do shellcheck --external-sources --shell=sh "$file";done
|
||||
run: cd "$GITHUB_WORKSPACE" && for file in $(git ls-tree --name-only -r ${{ github.sha }} | grep '.*\.sh'); do shellcheck --external-sources --shell=sh "$file";done
|
Loading…
Reference in New Issue
Block a user