-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Kevin Su <[email protected]>
- Loading branch information
Showing
54 changed files
with
1,120 additions
and
1,854 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -171,3 +171,70 @@ jobs: | |
"tag_name": "'${{ needs.bump-version.outputs.version }}'", | ||
"prerelease": false | ||
}' | ||
# e2e-tests: | ||
# runs-on: ubuntu-latest | ||
# env: | ||
# FLYTESNACKS_PRIORITIES: "P0" | ||
# FLYTESNACKS_VERSION: "" | ||
# timeout-minutes: 30 | ||
# steps: | ||
# - name: Set latest Flytesnacks release | ||
# if: ${{ env.FLYTESNACKS_VERSION == '' }} | ||
# run: | | ||
# FLYTESNACKS_VERSION="$(curl --silent https://api.github.com/repos/flyteorg/flytesnacks/releases/latest | jq -r .tag_name)" | ||
# echo "FLYTESNACKS_VERSION=${FLYTESNACKS_VERSION}" >> ${GITHUB_ENV} | ||
# - name: Checkout | ||
# uses: actions/checkout@v3 | ||
# - name: Set up Python | ||
# uses: actions/setup-python@v4 | ||
# with: | ||
# python-version: "3.11" | ||
# - uses: unionai/[email protected] | ||
# - name: Setup sandbox | ||
# run: | | ||
# mkdir -p ~/.flyte/sandbox | ||
# cat << EOF > ~/.flyte/sandbox/config.yaml | ||
# task_resources: | ||
# defaults: | ||
# cpu: "0" | ||
# memory: "0" | ||
# limits: | ||
# cpu: "0" | ||
# memory: "0" | ||
# EOF | ||
# flytectl demo start --imagePullPolicy Never | ||
# - name: Install Python dependencies | ||
# run: | | ||
# python -m pip install --upgrade pip | ||
# pip install flytekit flytekitplugins-deck-standard | ||
# pip freeze | ||
# - name: Checkout flytesnacks | ||
# uses: actions/checkout@v3 | ||
# with: | ||
# repository: flyteorg/flytesnacks | ||
# path: flytesnacks | ||
# - name: Register specific tests | ||
# run: | | ||
# for f in \ | ||
# basics/basics/hello_world.py \ | ||
# basics/basics/workflow.py \ | ||
# basics/basics/named_outputs.py \ | ||
# advanced_composition/advanced_composition/chain_entities.py \ | ||
# advanced_composition/advanced_composition/dynamics.py \ | ||
# advanced_composition/advanced_composition/map_task.py \ | ||
# advanced_composition/advanced_composition/subworkflows.py \ | ||
# data_types_and_io/data_types_and_io/dataclass.py \ | ||
# data_types_and_io/data_types_and_io/structured_dataset.py ; | ||
# do | ||
# pyflyte --config ./boilerplate/flyte/end2end/functional-test-config.yaml \ | ||
# register \ | ||
# --project flytesnacks \ | ||
# --domain development \ | ||
# --image cr.flyte.org/flyteorg/flytekit:py3.11-latest \ | ||
# --version ${{ env.FLYTESNACKS_VERSION }} \ | ||
# flytesnacks/examples/$f; | ||
# done | ||
# - name: End2End | ||
# run: | | ||
# make end2end_execute |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ isort | |
mock | ||
pytest | ||
mypy | ||
mashumaro |
Oops, something went wrong.