fix: use pytest exit code for test detection instead of grep #22
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 Spec | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - uses: actions/checkout@v4 | |
| with: | |
| repository: towlion/platform | |
| path: _platform | |
| continue-on-error: true | |
| - name: Run spec validator | |
| if: success() | |
| run: python _platform/validator/validate.py --tier 2 --dir . |