Skip to content

Commit

Permalink
Update create_test_conda_env.yml
Browse files Browse the repository at this point in the history
remove specific python version requirement, any python 3.9 or higher is fine. 

use full path to python interpreter for `pip install` call- call pip as python module to make sure fre-cli is installed in the conda env's python... NOT the python-setup step's python..
  • Loading branch information
ilaflott authored Jul 23, 2024
1 parent 47d54c0 commit 98eafc3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/create_test_conda_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '>=3.9'

- name: Add conda to system path
run: |
Expand All @@ -23,7 +23,7 @@ jobs:
# create environment catalogbuilder will be installed into
conda env create -f environment.yml --name fre-cli
# install fre-cli
pip install .
$CONDA/envs/fre-cli/bin/python -m pip install .
- name: Run pytest in catalogbuilder environment
run: |
Expand Down

0 comments on commit 98eafc3

Please sign in to comment.