[4.x] Test that global scopes on syncable models can break resource syncing, and that $scopeGetModelQuery can be used as a workaround for that #330
This file contains hidden or 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: Validate code | |
on: [push, pull_request] | |
jobs: | |
validate: | |
name: Validate code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check for todo0 | |
run: '! grep -r "todo0" --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() | |
- name: Check for non-todo skip()s in tests | |
run: '! grep -r "skip(" --exclude-dir=workflows tests/ | grep -v "todo"' | |
if: always() |