WIP: fVDB CI setup #2702
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Whitespace | |
on: | |
push: | |
paths-ignore: | |
- 'pendingchanges/**' | |
- 'tsc/meetings/**' | |
pull_request: | |
paths-ignore: | |
- 'pendingchanges/**' | |
- 'tsc/meetings/**' | |
# Allow subsequent pushes to the same PR or REF to cancel any previous jobs. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
# Search the git repository for any trailing spaces excluding meeting notes and auto-generated wlt files | |
trailingspaces: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: test | |
run: | | |
set +e | |
git grep -n -I -E '^.+[ ]+$' -- ':!tsc/meetings/*' ':!pendingchanges/*' ':!*.wlt' | |
test $? -eq 1 | |
# Search for any tabs excluding meeting notes, image files and a few others | |
spacesnottabs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: test | |
run: | | |
set +e | |
git grep -n " " -- ':!*/whitespace.yml' ':!tsc/meetings/*' ':!*.svg' ':!*.cmd' ':!*.png' ':!pendingchanges/*' ':!*.wlt' ':!*.jpg' ':!*.gif' ':!*.mp4' ':!*.pt' ':!*.pth' ':!*.nvdb' ':!*.npz' | |
test $? -eq 1 |