From efedac93ad318a3ff33fc010a96feda8618a212b Mon Sep 17 00:00:00 2001 From: Bart Schilperoort Date: Thu, 5 Sep 2024 14:27:22 +0200 Subject: [PATCH] Fix and simplify CI test workflow --- .github/workflows/test.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 41e15c5..b2d9cf2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,19 +9,16 @@ on: jobs: test: runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.10"] - fail-fast: false - name: Run tests in mamba environment ${{ matrix.python-version }} + name: Run tests in mamba environment steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download mamba environment.yml run: - wget https://raw.githubusercontent.com/eWaterCycle/ewatercycle/main/environment.yml + wget https://raw.githubusercontent.com/eWaterCycle/ewatercycle/main/conda-lock.yml - uses: mamba-org/setup-micromamba@v1 with: - environment-file: environment.yml + environment-file: conda-lock.yml + environment-name: ci cache-environment: true init-shell: bash - name: Install dependencies