Skip to content

Commit 0c5dab8

Browse files
authored
Update old CI images (#675)
* Remove old images * Remove comment to make sure this does not cause weird actions behavior * Add manual Python checkout for macos runners, which switched to Python 3.14. * Python 3.14 still used by previous fix, testing different package installation * Add pytest-cov, which may have been missing. * Removed commented old code
1 parent 6fc9113 commit 0c5dab8

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

.github/workflows/CI.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
fail-fast: false
135135
matrix:
136136
# OS [ubuntu-latest, macos-latest, windows-latest]
137-
os: [macos-13,macos-14]
137+
os: [macos-14,macos-15]
138138
python-version: [3.12]
139139
steps:
140140
- name: Get current year-month
@@ -143,6 +143,17 @@ jobs:
143143

144144
- uses: actions/[email protected]
145145

146+
- name: Set up Python ${{ matrix.python-version }}
147+
uses: actions/[email protected]
148+
with:
149+
python-version: ${{ matrix.python-version }}
150+
check-latest: true
151+
cache: 'pip'
152+
cache-dependency-path: |
153+
**/requirements.txt
154+
**/requirements-extras.txt
155+
**/requirements-tests.txt
156+
146157
- name: Get current hash (SHA) of the elephant_data repo
147158
id: elephant-data
148159
run: |
@@ -157,11 +168,11 @@ jobs:
157168
restore-keys: datasets-
158169

159170
- name: Install dependencies
160-
shell: bash -l {0}
161171
run: |
162172
python --version
163-
pip install -e .[extras,tests]
173+
python -m pip install --upgrade pip
164174
pip install pytest-cov coveralls
175+
pip install -e .[extras,tests]
165176
166177
- name: List packages
167178
shell: bash -l {0}

.github/workflows/build_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ${{ matrix.os }}
1616
strategy:
1717
matrix:
18-
os: [ubuntu-20.04, windows-2019]
18+
os: [ubuntu-latest, windows-latest]
1919

2020
steps:
2121
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)