Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
felixdittrich92 committed Oct 23, 2024
1 parent 0cca5ef commit 77b01ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 77b01ae

Please sign in to comment.