diff --git a/.github/workflows/single-binary.yml b/.github/workflows/single-binary.yml index 9a2c19a52c..793a08e01b 100644 --- a/.github/workflows/single-binary.yml +++ b/.github/workflows/single-binary.yml @@ -156,7 +156,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.12" - uses: unionai/flytectl-setup-action@v0.0.1 - name: Setup sandbox run: | @@ -181,17 +181,17 @@ jobs: with: repository: flyteorg/flytesnacks path: flytesnacks - # TODO: Enable this once refactored version produces a release tag - # ref: ${{ env.FLYTESNACKS_VERSION }} + ref: ${{ env.FLYTESNACKS_VERSION }} - name: Register specific tests run: | + flytekit_version=$(pip show flytekit | grep -i version | awk '{ print $2 }') while read -r line; do pyflyte --config ./boilerplate/flyte/end2end/functional-test-config.yaml \ register \ --project flytesnacks \ --domain development \ - --image cr.flyte.org/flyteorg/flytekit:py3.11-latest \ + --image cr.flyte.org/flyteorg/flytekit:py3.12-${flytekit_version} \ --version ${{ env.FLYTESNACKS_VERSION }} \ flytesnacks/$line; done < flytesnacks/flyte_tests.txt