From 77b01ae70e5aa212aee0b4c76c6c6ec59657313d Mon Sep 17 00:00:00 2001 From: felix Date: Wed, 23 Oct 2024 09:08:29 +0200 Subject: [PATCH] update CI --- .github/workflows/builds.yml | 2 +- .github/workflows/main.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index c27d2c3..319b2f7 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -20,7 +20,7 @@ jobs: uses: actions/setup-python@v5 with: # MacOS issue ref.: https://github.com/actions/setup-python/issues/855 & https://github.com/actions/setup-python/issues/865 - python-version: ${{ matrix.os == 'macos-latest' && '3.11' || matrix.python }} + python-version: ${{ matrix.os == 'macos-latest' && matrix.python == '3.10' && '3.11' || matrix.python }} architecture: x64 - name: Cache python modules uses: actions/cache@v4 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 97c155a..0148a04 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python: ["3.10", "3.11", "3.12"] + python: ["3.10"] steps: - uses: actions/checkout@v4 - name: Set up Python @@ -32,11 +32,11 @@ jobs: - name: Run unittests run: | coverage run -m pytest tests/common/ -rs - coverage xml -o coverage-common-${{ matrix.python }}.xml + coverage xml -o coverage-common.xml - uses: actions/upload-artifact@v4 with: name: coverage-common - path: ./coverage-common-${{ matrix.python }}.xml + path: ./coverage-common.xml if-no-files-found: error codecov-upload: