From 2db7bd4a0cc7ca7bce89e24d808a30f4c9c583ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Backenk=C3=B6hler?= Date: Mon, 29 Jan 2024 13:53:44 +0100 Subject: [PATCH] ci --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac04ebb1..b4d98edd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: - name: Cache Conda packages uses: actions/cache@v3 with: - path: ~/.conda/pkgs + path: /home/runner/conda_pkgs_dir key: ${{ runner.os }}-conda- restore-keys: | ${{ runner.os }}-conda- @@ -57,7 +57,15 @@ jobs: mamba env create -f environment.yml -n ${{ matrix.directory }} conda activate $(basename ${{ matrix.directory }}) mamba install pytest pytest-xdist pytest-cov nbval shyaml -c conda-forge -y + + - name: Conda info + shell: bash -el {0} + run: | conda info + + - name: Test Talktorial + shell: bash -el {0} + run: | PYTEST_ARGS="--nbval-lax --nbval-current-env --dist loadscope" pytest $PYTEST_ARGS . working-directory: teachopencadd/talktorials/${{ matrix.directory }}