This repository was archived by the owner on Jun 3, 2025. It is now read-only.
Final Sparsify PR #789
Workflow file for this run
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: Quality Checks | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - 'release/*' | |
| pull_request: | |
| branches: | |
| - main | |
| - 'release/*' | |
| jobs: | |
| quality-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Python Version" | |
| run: python3 --version | |
| - name: "Upgrade pip and output version" | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| pip3 --version | |
| - uses: actions/checkout@v2 | |
| - uses: actions/checkout@v2 | |
| with: | |
| repository: "neuralmagic/sparsezoo" | |
| path: "sparsezoo" | |
| - name: "⚙️ Install sparsezoo dependencies" | |
| run: pip3 install sparsezoo/ | |
| - name: "Clean sparsezoo directory" | |
| run: rm -r sparsezoo/ | |
| - uses: actions/checkout@v2 | |
| with: | |
| repository: "neuralmagic/sparseml" | |
| path: "sparseml" | |
| - name: "⚙️ Install sparseml dependencies" | |
| run: pip3 install sparseml/ | |
| - name: "Clean sparseml directory" | |
| run: rm -r sparseml/ | |
| - name: "⚙️ Install python dependencies" | |
| run: pip3 install .[dev] | |
| - name: "🧹 Running quality checks" | |
| run: make quality |