Skip to content

Commit 3804a36

Browse files
authored
ci: support macos-13 as much as possible
1 parent 0b1bcd1 commit 3804a36

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/python-tests.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
os:
2727
- "ubuntu-latest"
2828
- "windows-latest"
29+
- "macos-13"
2930
- "macos-14"
3031
- "macos-15"
3132
# Ref: https://docs.github.com/en/actions/how-tos/writing-workflows/choosing-where-your-workflow-runs/choosing-the-runner-for-a-job
@@ -77,14 +78,21 @@ jobs:
7778
pip install dist/*.tar.gz
7879
pip uninstall -y memoryos
7980
80-
# Ruff and PyTest checks
81-
- name: Install all dependencies
81+
# Ruff checks
82+
- name: Install test group dependencies
8283
run: |
83-
poetry install --no-interaction --extras all --with test
84+
poetry install --no-interaction --with test
8485
- name: Ruff checks
8586
run: |
8687
poetry run ruff check
8788
poetry run ruff format --check
89+
90+
# PyTest checks
91+
- name: Install all extra dependencies
92+
#if: ${{ !startsWith(matrix.os, 'macos-13') }}
93+
run: |
94+
poetry install --no-interaction --extras all
8895
- name: PyTest unit tests
96+
#if: ${{ !startsWith(matrix.os, 'macos-13') }}
8997
run: |
9098
poetry run pytest tests -vv --durations=10

0 commit comments

Comments
 (0)