From d519aa09e2bf8726bc8b3aa2479750593c371b80 Mon Sep 17 00:00:00 2001 From: antarcticrainforest Date: Thu, 29 Aug 2024 01:20:30 +0200 Subject: [PATCH] Pip install dependencies. --- .github/workflows/tests.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a0bffdb..1eff85a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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 @@ -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