From ba103020ae13bb4ed0114c5df686ed0e7f462fd6 Mon Sep 17 00:00:00 2001 From: Gabriele Filomena Date: Mon, 11 Nov 2024 18:52:40 +0000 Subject: [PATCH] Update tests.yml --- .github/workflows/tests.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9aea8f4..c777d9c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,6 +26,7 @@ jobs: auto-activate-base: false activate-environment: test environment-file: ${{ matrix.env }} + python-version: 3.10 # Explicitly specify Python version channel-priority: strict - name: Install cityImage @@ -43,7 +44,6 @@ jobs: run: | pytest -v --color=yes --cov-config .coveragerc --cov=cityImage --cov-append --cov-report term-missing --cov-report xml tests - - name: Upload coverage to Codecov if: success() uses: codecov/codecov-action@v2 @@ -52,15 +52,15 @@ jobs: file: coverage.xml flags: unittests name: codecov-python - - # - name: Test documentation - # shell: bash -l {0} - # if: contains(matrix.env, 'latest.yml') && contains(matrix.os, 'ubuntu') - # run: | - # ci/envs/test_documentation.sh -# - name: Black -# shell: bash -l {0} -# run: | -# black --check . + # Uncomment the following lines to test documentation or apply code formatting checks + # - name: Test documentation + # shell: bash -l {0} + # if: contains(matrix.env, 'latest.yml') && contains(matrix.os, 'ubuntu') + # run: | + # ci/envs/test_documentation.sh + # - name: Black + # shell: bash -l {0} + # run: | + # black --check .