Skip to content

Commit f7c3e12

Browse files
committed
chore: reduce CI cost by running tests only on Ubuntu + Python 3.11
1 parent d8313d3 commit f7c3e12

1 file changed

Lines changed: 19 additions & 13 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,26 +47,32 @@ jobs:
4747
run: uv run pyright
4848

4949
test:
50-
strategy:
51-
matrix:
52-
os: [ubuntu-latest, macos-latest]
53-
python-version: ['3.10', '3.11', '3.12', '3.13']
54-
runs-on: ${{ matrix.os }}
50+
# strategy:
51+
# matrix:
52+
# os: [ubuntu-latest, macos-latest]
53+
# python-version: ['3.10', '3.11', '3.12', '3.13']
54+
# runs-on: ${{ matrix.os }}
55+
runs-on: ubuntu-latest
5556
steps:
5657
- uses: actions/checkout@v4
5758
- uses: astral-sh/setup-uv@v6
5859
with:
5960
enable-cache: true
60-
python-version: ${{ matrix.python-version }}
61-
- name: Install dependencies (Linux)
62-
if: runner.os == 'Linux'
61+
# python-version: ${{ matrix.python-version }}
62+
python-version: '3.11'
63+
# - name: Install dependencies (Linux)
64+
# if: runner.os == 'Linux'
65+
# run: |
66+
# sudo apt-get update && sudo apt-get install -y cmake
67+
# uv sync --extra dev
68+
# - name: Install dependencies (macOS)
69+
# if: runner.os == 'macOS'
70+
# run: |
71+
# brew install cmake
72+
# uv sync --extra dev
73+
- name: Install dependencies
6374
run: |
6475
sudo apt-get update && sudo apt-get install -y cmake
6576
uv sync --extra dev
66-
- name: Install dependencies (macOS)
67-
if: runner.os == 'macOS'
68-
run: |
69-
brew install cmake
70-
uv sync --extra dev
7177
- name: Test with coverage
7278
run: uv run pytest -m "not slow" --cov=unilab --cov-report=term-missing --cov-fail-under=10

0 commit comments

Comments
 (0)