mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 20:14:03 +00:00
Simplify validate workflow (use regex)
This commit is contained in:
parent
ecc3374293
commit
413da36c4a
1 changed files with 2 additions and 8 deletions
10
.github/workflows/validate.yml
vendored
10
.github/workflows/validate.yml
vendored
|
|
@ -8,14 +8,8 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Check for todo0
|
- name: Check for priority todos
|
||||||
run: '! grep -r "todo0" --exclude-dir=workflows .'
|
run: '! grep -r "todo[0-9]" --exclude-dir=workflows .'
|
||||||
if: always()
|
|
||||||
- name: Check for todo1
|
|
||||||
run: '! grep -r "todo1" --exclude-dir=workflows .'
|
|
||||||
if: always()
|
|
||||||
- name: Check for todo2
|
|
||||||
run: '! grep -r "todo2" --exclude-dir=workflows .'
|
|
||||||
if: always()
|
if: always()
|
||||||
- name: Check for non-todo skip()s in tests
|
- name: Check for non-todo skip()s in tests
|
||||||
run: '! grep -r "skip(" --exclude-dir=workflows tests/ | grep -v "todo"'
|
run: '! grep -r "skip(" --exclude-dir=workflows tests/ | grep -v "todo"'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue