Skip to content

Commit

Permalink
Merge pull request #8495 from OpenMined/rasswanth/fix-syft-version-cd
Browse files Browse the repository at this point in the history
shift to using workflow_call
  • Loading branch information
rasswanth-s authored Feb 15, 2024
2 parents 5dfad0b + f43e5df commit 2f829cc
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/cd-post-release-tests.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
name: CD - Post Release Tests

on:
workflow_call:

workflow_dispatch:
inputs:
syft_version:
description: "Syft version to test"
required: true
type: string

workflow_call:
inputs:
syft_version:
description: "Syft version to test"
required: true
type: string

jobs:
notebook-test-hagrid:
strategy:
Expand Down Expand Up @@ -57,12 +62,12 @@ jobs:
- name: Launch Domain
run: |
hagrid launch test-domain-1 to docker:8081 --tag=${{ github.event.inputs.syft_version }} --low-side
hagrid launch test-domain-1 to docker:8081 --tag=${{ inputs.syft_version }} --low-side
- name: Run tests
env:
NODE_PORT: "8081"
SYFT_VERSION: ${{ github.event.inputs.syft_version }}
SYFT_VERSION: ${{ inputs.syft_version }}
EXCLUDE_NOTEBOOKS: "not 11-container-images-k8s.ipynb"
run: |
tox -e e2e.test.notebook
Expand Down Expand Up @@ -111,7 +116,7 @@ jobs:
- name: Install Syft
run: |
pip install syft==${{ github.event.inputs.syft_version }}
pip install syft==${{ inputs.syft_version }}
- name: Check Syft version
run: |
Expand Down

0 comments on commit 2f829cc

Please sign in to comment.