@@ -18,16 +18,18 @@ jobs:
18
18
AWS_SECRET_KEY : ${{ secrets.AWS_SECRET_KEY }}
19
19
steps :
20
20
- uses : actions/checkout@v3
21
- - name : Set up Python
22
- uses : actions /setup-python@v4
21
+ - name : Set up Conda
22
+ uses : conda-incubator /setup-miniconda@v2
23
23
with :
24
+ auto-update-conda : true
24
25
python-version : ' 3.10'
25
- - name : Install dependencies
26
+ activate-environment : snowflake-demo
27
+
28
+ - name : Install dependencies with Conda
29
+ shell : bash -l {0}
26
30
run : |
27
- python -m pip install --upgrade pip
28
-
29
- # Install from requirements.txt
30
- pip install -r requirements.txt
31
+ # Install from environment.yml
32
+ conda env update --file environment.yml --prune
31
33
32
34
# Just verify Snow CLI version - don't try to use other commands that might not exist
33
35
snow --version || echo "Snow CLI version check failed"
@@ -105,19 +107,18 @@ jobs:
105
107
runs-on : ubuntu-latest
106
108
steps :
107
109
- uses : actions/checkout@v3
108
- - name : Set up Python
109
- uses : actions /setup-python@v4
110
+ - name : Set up Conda
111
+ uses : conda-incubator /setup-miniconda@v2
110
112
with :
113
+ auto-update-conda : true
111
114
python-version : ' 3.10'
112
- - name : Install dependencies
113
- run : |
114
- python -m pip install --upgrade pip
115
-
116
- # Install from requirements.txt with force reinstall for key packages
117
- pip install -r requirements.txt --force-reinstall
115
+ activate-environment : snowflake-demo
118
116
119
- # Install specific version we know works (avoid 0.2.9)
120
- pip install snowflake-connector-python==3.13.2 snowflake-snowpark-python==1.25.0
117
+ - name : Install dependencies with Conda
118
+ shell : bash -l {0}
119
+ run : |
120
+ # Install from environment.yml
121
+ conda env update --file environment.yml --prune
121
122
122
123
# Just verify Snow CLI version - no extension or snowpark commands
123
124
snow --version
0 commit comments