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:
2828 - name : Initialize miniconda
2929 uses : conda-incubator/setup-miniconda@v3
3030 with :
31- activate-environment : test
3231 auto-update-conda : true
33- environment-file : environment.yml
3432 auto-activate-base : false
3533 python-version : ${{ matrix.python-version }}
36-
3734 - 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
4237 - name : Install diffpy.srreal and requirements
4338 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
4646 python -m pip install . --no-deps
4747
4848 - 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