Support for targets
and ignore
in Sparsity Compressors
#834
This file contains 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: Run Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
python-tests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- uses: actions/checkout@v3 | |
- name: Set Env | |
run: | | |
pip3 install --upgrade pip && pip3 install --upgrade setuptools | |
pip3 install virtualenv | |
virtualenv venv | |
source venv/bin/activate | |
- name: "⚙️ Install dependencies" | |
run: pip3 install .[dev,accelerate] | |
- name: "🔬 Running tests" | |
run: make test |