Skip to content

Commit

Permalink
modified it to test brarch as input
Browse files Browse the repository at this point in the history
  • Loading branch information
rasswanth-s committed Dec 7, 2023
1 parent e1a9d5f commit fcbbcb4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/cd-syft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,24 @@ on:
- TEST_PYPI
- REAL_AND_TEST_PYPI

test_branch:
description: "Branch name"
required: true

jobs:
call-pr-tests-linting:
if: github.repository == 'OpenMined/PySyft' && (github.event.inputs.skip_tests == 'false' || github.event_name == 'schedule') # don't run on forks
uses: OpenMined/PySyft/.github/workflows/pr-tests-linting.yml@${{ github.ref }}
uses: OpenMined/PySyft/.github/workflows/pr-tests-linting.yml@${{ github.event.inputs.test_branch }}
secrets: inherit

call-pr-tests-syft:
if: github.repository == 'OpenMined/PySyft' && (github.event.inputs.skip_tests == 'false' || github.event_name == 'schedule') # don't run on forks
uses: OpenMined/PySyft/.github/workflows/pr-tests-syft.yml@${{ github.ref }}
uses: OpenMined/PySyft/.github/workflows/pr-tests-syft.yml@${{ github.event.inputs.test_branch }}
secrets: inherit

call-pr-tests-stack:
if: github.repository == 'OpenMined/PySyft' && (github.event.inputs.skip_tests == 'false' || github.event_name == 'schedule') # don't run on forks
uses: OpenMined/PySyft/.github/workflows/pr-tests-stack.yml@${{ github.ref }}
uses: OpenMined/PySyft/.github/workflows/pr-tests-stack.yml@${{ github.event.inputs.test_branch }}
secrets: inherit

# build-and-push-docker-images:
Expand Down

0 comments on commit fcbbcb4

Please sign in to comment.