From 0a87c8f25ab4511e89f7c946c3ca4a9e00fdb04b Mon Sep 17 00:00:00 2001 From: Arthur Loureiro Date: Fri, 8 Dec 2023 11:03:49 +0100 Subject: [PATCH] trying to fix bug introduced in CI --- .github/workflows/CI.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ac112d2..1c7c4b9 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -35,6 +35,10 @@ jobs: # Our CI steps for this job. steps: + # Check out this repository code. + - name: Check out repository code + uses: actions/checkout@v3 + - uses: conda-incubator/setup-miniconda@v2 with: activate-environment: cosmosis-env @@ -42,6 +46,7 @@ jobs: miniforge-variant: Mambaforge miniforge-version: latest python-version: ${{ matrix.pyversion }} + - name: Install dependencies with conda shell: bash -l {0} run: mamba install -c conda-forge "cosmosis>=2.5" cosmosis-build-standard-library pytest @@ -70,10 +75,6 @@ jobs: - name: Test with pytest run: pytest --cov=blind_2pt_cosmosis --cov-report=xml ./tests - # Check out this repository code. - - name: Check out repository code - uses: actions/checkout@v3 - - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 env: