Repository navigation
Merge pull request #161 from sophgo/xin.zhang #38
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: Check Model References in README | |
| on: | |
| push: | |
| paths: | |
| - 'models/**' | |
| - 'README.md' | |
| - '.github/workflows/check_models_in_readme.py' | |
| - '.github/workflows/ci.yml' | |
| pull_request: | |
| paths: | |
| - 'models/**' | |
| - 'README.md' | |
| - '.github/workflows/check_models_in_readme.py' | |
| - '.github/workflows/ci.yml' | |
| jobs: | |
| check-model-references: | |
| runs-on: ubuntu-latest | |
| name: Verify Model Listings in README | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - name: Run the check script | |
| run: python .github/workflows/check_models_in_readme.py |