Commit 4161542 1 parent 3640723 commit 4161542 Copy full SHA for 4161542
File tree 1 file changed +16
-6
lines changed
1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -53,18 +53,28 @@ jobs:
53
53
miniforge-version : latest
54
54
use-mamba : true
55
55
56
+ - name : Create conda environment
57
+ shell : bash -el {0}
58
+ run : |
59
+ conda create --name gdal_env python=${{ matrix.python-version }} -y
60
+
56
61
- name : Install GDAL
62
+ shell : bash -el {0}
57
63
run : |
58
- mamba install conda-forge::gdal
59
- python -m pip install .[test]
64
+ conda activate gdal_env
65
+ mamba install conda-forge::gdal
60
66
61
67
- name : Install package
62
- run : python -m pip install .[test]
68
+ shell : bash -el {0}
69
+ run : |
70
+ conda activate gdal_env
71
+ python -m pip install .[test]
63
72
64
73
- name : Test package
65
- run : >-
66
- python -m pytest -ra --cov --cov-report=xml --cov-report=term
67
- --durations=20
74
+ shell : bash -el {0}
75
+ run : |
76
+ conda activate gdal_env
77
+ python -m pytest -ra --cov --cov-report=xml --cov-report=term --durations=20
68
78
69
79
- name : Upload coverage report
70
80
uses : codecov/codecov-action@v4.0.1
You can’t perform that action at this time.
0 commit comments