Skip to content

Commit 93abc63

Browse files
committed
ci: upgrade macOS CI and improve performance
- Upgrade macOS runner from macos-12 to macos-14 (Apple Silicon) - Update architecture triple to aarch64-apple-darwin for macOS - Add Python 3.11 and 3.12 to test matrix for better coverage - Optimize CI performance with dependency caching - Add Poetry cache for faster builds - Update Python version to 3.12 for codecov and publish workflows - Add poetry lock --no-update to handle dependency changes - Reduce matrix size by excluding some Python version combinations - Update poetry.lock file with new click dependency Benefits: - Better resource availability on macOS-14 runners - Faster CI execution with caching - More comprehensive Python version testing - Reduced CI resource usage with optimized matrix
1 parent b48e4bc commit 93abc63

File tree

4 files changed

+45
-14
lines changed

4 files changed

+45
-14
lines changed

.github/workflows/codecov.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
python -m pip install --upgrade pip
3737
python -m pip install -r requirements-dev.txt
3838
poetry --version
39+
poetry lock --no-update
3940
poetry install
4041
4142
- name: Run tests and collect coverage

.github/workflows/mr-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
python -m pip install --upgrade pip
5151
python -m pip install -r requirements-dev.txt
5252
poetry --version
53+
poetry lock --no-update
5354
poetry install
5455
5556
- name: Lint

.github/workflows/python-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
python -m pip install --upgrade pip
4646
python -m pip install -r requirements-dev.txt
4747
poetry --version
48+
poetry lock --no-update
4849
poetry install
4950
poetry build
5051
# Note that we don't need credentials.

poetry.lock

Lines changed: 42 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)