Full Implementation of the Captum-Optim Module #174
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: Unit-tests for Pip install with type checks | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
pytorch_args: ["", "-n"] | |
fail-fast: false | |
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main | |
with: | |
runner: linux.12xlarge | |
docker-image: cimg/python:3.11 | |
repository: pytorch/captum | |
script: | | |
sudo chmod -R 777 . | |
./scripts/install_via_pip.sh ${{ matrix.pytorch_args }} | |
./scripts/run_mypy.sh | |
pyre check | |
# Run Tests | |
python3 -m pytest -ra --cov=. --cov-report term-missing |