Skip to content

Commit

Permalink
Fix mariadb test script (#2599) (#2600)
Browse files Browse the repository at this point in the history
* fix mariadb script

* restore ci state
  • Loading branch information
avishniakov authored Apr 9, 2024
1 parent 4650df3 commit 46d40c4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/test-migrations-mariadb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ do

git checkout release/$VERSION
uv pip install -e ".[templates,server]"
# handles copier conflicts
uv pip install "pyyaml-include<2.0"

export ZENML_ANALYTICS_OPT_IN=false
export ZENML_DEBUG=true
Expand All @@ -87,7 +89,8 @@ source ".venv-current-branch/bin/activate"

uv pip install -U setuptools wheel pip
uv pip install -e ".[templates,server]"
uv pip install importlib_metadata
# handles copier conflicts
uv pip install importlib_metadata "pyyaml-include<2.0"

zenml connect --url mysql://127.0.0.1/zenml --username root --password password

Expand Down Expand Up @@ -161,6 +164,8 @@ for i in "${!MIGRATION_VERSIONS[@]}"; do

git checkout release/${MIGRATION_VERSIONS[$i]}
uv pip install -e ".[templates,server]"
# handles copier conflicts
uv pip install "pyyaml-include<2.0"

export ZENML_ANALYTICS_OPT_IN=false
export ZENML_DEBUG=true
Expand Down

0 comments on commit 46d40c4

Please sign in to comment.