From 0d83f102b1ffb4d80d5b756500ae35d140e4363a Mon Sep 17 00:00:00 2001 From: Vivek Miglani Date: Thu, 12 Oct 2023 12:49:29 -0700 Subject: [PATCH] Clean up --- .github/workflows/lint.yml | 7 +------ .github/workflows/test-conda-cpu.yml | 4 +--- .github/workflows/test-pip-cpu-with-mypy.yml | 7 +------ .github/workflows/test-pip-cpu.yml | 11 +---------- .github/workflows/test-pip-gpu.yml | 7 +------ .github/workflows/test-website-depoy.yml | 2 +- .github/workflows/website-depoy.yml | 2 +- 7 files changed, 7 insertions(+), 33 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9312a93b04..0aa7c68b4c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/.github/workflows/test-conda-cpu.yml b/.github/workflows/test-conda-cpu.yml index acf21543f9..45eda3ea2f 100644 --- a/.github/workflows/test-conda-cpu.yml +++ b/.github/workflows/test-conda-cpu.yml @@ -4,9 +4,7 @@ on: pull_request: push: branches: - - nightly - - main - - release/* + - master workflow_dispatch: diff --git a/.github/workflows/test-pip-cpu-with-mypy.yml b/.github/workflows/test-pip-cpu-with-mypy.yml index a0b9a7aa7b..4a721cb85b 100644 --- a/.github/workflows/test-pip-cpu-with-mypy.yml +++ b/.github/workflows/test-pip-cpu-with-mypy.yml @@ -4,15 +4,10 @@ on: pull_request: push: branches: - - nightly - - main - - release/* + - master workflow_dispatch: -env: - CHANNEL: "nightly" - jobs: tests: strategy: diff --git a/.github/workflows/test-pip-cpu.yml b/.github/workflows/test-pip-cpu.yml index 907c57946c..b1e6028226 100644 --- a/.github/workflows/test-pip-cpu.yml +++ b/.github/workflows/test-pip-cpu.yml @@ -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 @@ -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 diff --git a/.github/workflows/test-pip-gpu.yml b/.github/workflows/test-pip-gpu.yml index 5eb65f46f3..624b9430c6 100644 --- a/.github/workflows/test-pip-gpu.yml +++ b/.github/workflows/test-pip-gpu.yml @@ -4,15 +4,10 @@ on: pull_request: push: branches: - - nightly - - main - - release/* + - master workflow_dispatch: -env: - CHANNEL: "nightly" - jobs: tests: strategy: diff --git a/.github/workflows/test-website-depoy.yml b/.github/workflows/test-website-depoy.yml index d4f3e273cf..1c9b7315f9 100644 --- a/.github/workflows/test-website-depoy.yml +++ b/.github/workflows/test-website-depoy.yml @@ -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 diff --git a/.github/workflows/website-depoy.yml b/.github/workflows/website-depoy.yml index 2ec2c23b07..408395c6d3 100644 --- a/.github/workflows/website-depoy.yml +++ b/.github/workflows/website-depoy.yml @@ -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