Skip to content

Commit

Permalink
Pip install dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
antarcticrainforest committed Aug 28, 2024
1 parent 8ac0324 commit d519aa0
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,9 @@ jobs:
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Creating conda environment for python 3.12
- name: Creating conda environment
run: |
conda create -n test -c conda-forge -y python=${{matrix.python-version}} ffmpeg pip cartopy make hdf5 pandoc tox
- name: Install dependencies
run: |
conda run -n test python3 -m pip install -U -e .[tests]
conda create -n test -c conda-forge -y ipykernel bash_kernel ffmpeg cartopy make pandoc tox
- name: Setup jupyter kernel
run: |
conda run -n test python3 -m ipykernel install --name tintx --display-name "tintX kernel" --env DATA_FILES ${PWD}/docs/source/_static/data --user
Expand All @@ -42,7 +39,7 @@ jobs:
env:
DATA_FILES: ./docs/source/_static/data
run: |
conda run -n test tox -p -e lint,docs
conda run -n test tox --parallel-no-spinner -p -e lint,docs
tests:
name: tintX tests
runs-on: ubuntu-latest
Expand All @@ -65,10 +62,7 @@ jobs:
echo $CONDA/bin >> $GITHUB_PATH
- name: Creating conda environment for python ${{ matrix.python-version }}
run: |
conda create -n test -c conda-forge -y python=${{matrix.python-version}} ffmpeg pip cartopy make hdf5 pandoc tox
- name: Install dependencies
run: |
conda run -n test python3 -m pip install -U -e .[tests]
conda create -n test -c conda-forge -y python=${{matrix.python-version}} ipykernel bash_kernel ffmpeg cartopy make pandoc tox
- name: Setup jupyter kernel
run: |
conda run -n test python3 -m ipykernel install --name tintx --display-name "tintX kernel" --env DATA_FILES ${PWD}/docs/source/_static/data --user
Expand Down

0 comments on commit d519aa0

Please sign in to comment.