Skip to content

Commit

Permalink
Merge branch 'main' into feature/OSS-2494-yaml-config
Browse files Browse the repository at this point in the history
  • Loading branch information
avishniakov authored Oct 11, 2023
2 parents 074f0bc + d4d52f9 commit 9904bee
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions .github/actions/e2e_template_test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,19 @@ runs:
if: ${{ inputs.ref-zenml != '' }}
shell: bash
run: |
pip install "git+https://github.com/zenml-io/zenml.git@${{ inputs.ref-zenml }}" "zenml[server]@git+https://github.com/zenml-io/zenml.git@${{ inputs.ref-zenml }}"
pip install "zenml[dev, server, templates]@git+https://github.com/zenml-io/zenml.git@${{ inputs.ref-zenml }}"
- name: Install ZenML
if: ${{ inputs.ref-zenml == '' }}
shell: bash
run: |
pip install zenml "zenml[server]"
pip install "zenml[dev, server, templates]"
- name: Concatenate requirements
shell: bash
run: |
zenml integration export-requirements -o ./local_checkout/integration-requirements.txt sklearn mlflow s3 kubernetes kubeflow slack evidently
cat ./local_checkout/requirements.txt ./local_checkout/test-requirements.txt ./local_checkout/integration-requirements.txt >> ./local_checkout/all-requirements.txt
zenml integration export-requirements -o ./local_checkout/integration-requirements.txt sklearn mlflow s3 slack evidently
cat ./local_checkout/test-requirements.txt ./local_checkout/integration-requirements.txt >> ./local_checkout/all-requirements.txt
- name: Install requirements
shell: bash
Expand All @@ -83,3 +83,8 @@ runs:
ZENML_STACK_NAME: ${{ inputs.stack-name }}
run: |
pytest ./local_checkout/tests
- name: Clean-up
shell: bash
run: |
rm -rf ./local_checkout
2 changes: 1 addition & 1 deletion template/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ setup: remote-login
setup:
{%- endif %}
pip install -r requirements.txt
zenml integration install sklearn mlflow s3 kubernetes kubeflow slack evidently -y
zenml integration install sklearn mlflow slack evidently -y

install-stack:
@echo "Specify stack name [$(stack_name)]: " && read input && [ -n "$$input" ] && stack_name="$$input" || stack_name="$(stack_name)" && \
Expand Down

0 comments on commit 9904bee

Please sign in to comment.