Skip to content

Commit

Permalink
merged master
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw committed Nov 10, 2023
2 parents 1ac2669 + dcac4c5 commit 5d9fc9c
Show file tree
Hide file tree
Showing 54 changed files with 1,120 additions and 1,854 deletions.
67 changes: 67 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions dev-requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ isort
mock
pytest
mypy
mashumaro
Loading

0 comments on commit 5d9fc9c

Please sign in to comment.