Fix the tests with exceptions assertions having multiple top-level statements #341
Workflow file for this run
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: Captum Lint | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
tests: | |
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | |
with: | |
runner: linux.12xlarge | |
docker-image: cimg/python:3.9 | |
repository: pytorch/captum | |
script: | | |
sudo chmod -R 777 . | |
./scripts/install_via_pip.sh | |
ufmt check . | |
flake8 | |
sphinx-build -WT --keep-going sphinx/source sphinx/build |