Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekmig committed Oct 12, 2023
1 parent 345c71e commit 0d83f10
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 33 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@ on:
pull_request:
push:
branches:
- nightly
- main
- release/*
- master

workflow_dispatch:

env:
CHANNEL: "nightly"

jobs:
tests:
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test-conda-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ on:
pull_request:
push:
branches:
- nightly
- main
- release/*
- master

workflow_dispatch:

Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/test-pip-cpu-with-mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@ on:
pull_request:
push:
branches:
- nightly
- main
- release/*
- master

workflow_dispatch:

env:
CHANNEL: "nightly"

jobs:
tests:
strategy:
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/test-pip-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,14 @@ on:
pull_request:
push:
branches:
- nightly
- main
- release/*
- master

workflow_dispatch:

env:
CHANNEL: "nightly"

jobs:
tests:
strategy:
matrix:
python_version: ["3.6"]
pytorch_args: ["-v 1.6", "-v 1.7", " -v 1.8", "-v 1.9"]
fail-fast: false
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
Expand All @@ -26,9 +20,6 @@ jobs:
docker-image: cimg/python:3.6
repository: pytorch/captum
script: |
# Create Conda Env
#conda create -yp ci_env python="${PYTHON_VERSION}"
#conda activate /pytorch/captum/ci_env
sudo chmod -R 777 .
./scripts/install_via_pip.sh ${{ matrix.pytorch_args }}
# Run Tests
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/test-pip-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@ on:
pull_request:
push:
branches:
- nightly
- main
- release/*
- master

workflow_dispatch:

env:
CHANNEL: "nightly"

jobs:
tests:
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-website-depoy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test deployment
on:
pull_request:
branches:
- main
- master
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website-depoy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy to GitHub Pages
on:
push:
branches:
- main
- master
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on

Expand Down

0 comments on commit 0d83f10

Please sign in to comment.