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