Skip to content

Commit 6b72909

Browse files
ci: update depreciated macOS-12 environment (#1720)
macOS tests are failing in CI, with following message: > The macOS-12 environment is deprecated, consider switching to macOS-13, macOS-14 (macos-latest) or macOS-15. [Link to the annoucement](actions/runner-images#10721) of end of support in github since 2024-12-03. It looks like postrgres has been removed from the image starting at macOS-13. (postgres is mentioned in [macOS-12 installed software](https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md), but missing from [macOS-13's](https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md))
1 parent 48b5aa8 commit 6b72909

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/general.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,16 @@ jobs:
7575

7676
test-macos:
7777
if: github.event_name != 'schedule' || github.repository_owner == 'frictionlessdata'
78-
# TODO: migrate to macos-latest after figuring out how to
79-
# make `posgres/pg_config` works in the environment. Currently, it fails
80-
# with the following error: "pg_config" not found"
81-
runs-on: macos-12
78+
runs-on: macos-14
8279
steps:
8380
- name: Checkout repository
8481
uses: actions/checkout@v4
8582
- name: Install Python
8683
uses: actions/setup-python@v5
8784
with:
8885
python-version: "3.10"
86+
- name: Set up postgresql
87+
run: brew install postgresql
8988
- name: Prepare environment
9089
run: pip3 install hatch
9190
- name: Prepare variables

0 commit comments

Comments
 (0)