File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -28,22 +28,25 @@ jobs:
28
28
- name : Initialize miniconda
29
29
uses : conda-incubator/setup-miniconda@v3
30
30
with :
31
- activate-environment : test
32
31
auto-update-conda : true
33
- environment-file : environment.yml
34
32
auto-activate-base : false
35
33
python-version : ${{ matrix.python-version }}
36
-
37
34
- name : Conda config
38
- run : >-
39
- conda config --set always_yes yes
40
- --set changeps1 no
41
-
35
+ run : |
36
+ conda config --add channels conda-forge
42
37
- name : Install diffpy.srreal and requirements
43
38
run : |
44
- conda install --file requirements/conda.txt
45
- conda install --file requirements/test.txt
39
+ conda create -n test python=${{ matrix.python-version }} -y
40
+ source $(conda info --base)/etc/profile.d/conda.sh
41
+ conda activate test
42
+ conda install pip -y
43
+ conda config --set always_yes yes --set changeps1 no
44
+ conda install --file requirements/conda.txt -y
45
+ conda install --file requirements/test.txt -y
46
46
python -m pip install . --no-deps
47
47
48
48
- name : Validate diffpy.pdfgui
49
- run : pytest tests
49
+ run : |
50
+ source $(conda info --base)/etc/profile.d/conda.sh
51
+ conda activate test
52
+ pytest tests
You can’t perform that action at this time.
0 commit comments