-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
14 changed files
with
16,766 additions
and
128 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
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 |
---|---|---|
|
@@ -79,25 +79,16 @@ jobs: | |
- name: Register P0 tests | ||
if: ${{ inputs.priorities == 'P0' }} | ||
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 ; | ||
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 \ | ||
--version ${{ env.FLYTESNACKS_VERSION }} \ | ||
flytesnacks/examples/$f; | ||
done | ||
flytesnacks/$line; | ||
done < flytesnacks/flyte_tests.txt | ||
- name: Register all flytesnacks examples | ||
if: ${{ inputs.priorities != 'P0' }} | ||
uses: unionai/[email protected] | ||
|
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 |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.21' | ||
go-version: "1.21" | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
|
@@ -129,8 +129,8 @@ jobs: | |
sandbox-bundled-functional-tests: | ||
runs-on: ubuntu-latest | ||
env: | ||
FLYTESNACKS_PRIORITIES: 'P0' | ||
FLYTESNACKS_VERSION: '' | ||
FLYTESNACKS_PRIORITIES: "P0" | ||
FLYTESNACKS_VERSION: "" | ||
timeout-minutes: 20 | ||
needs: [build-and-push-single-binary-image] | ||
steps: | ||
|
@@ -164,7 +164,7 @@ jobs: | |
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
python-version: "3.11" | ||
- uses: unionai/[email protected] | ||
- name: Setup sandbox | ||
run: | | ||
|
@@ -193,25 +193,16 @@ jobs: | |
# ref: ${{ env.FLYTESNACKS_VERSION }} | ||
- 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 ; | ||
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 \ | ||
--version ${{ env.FLYTESNACKS_VERSION }} \ | ||
flytesnacks/examples/$f; | ||
done | ||
flytesnacks/$line; | ||
done < flytesnacks/flyte_tests.txt | ||
- 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
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
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
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
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
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
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
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
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
Oops, something went wrong.