Skip to content

Commit

Permalink
ci: update depreciated macOS-12 environment (#1720)
Browse files Browse the repository at this point in the history
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))
  • Loading branch information
pierrecamilleri authored Dec 13, 2024
1 parent 48b5aa8 commit 6b72909
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/general.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,16 @@ jobs:

test-macos:
if: github.event_name != 'schedule' || github.repository_owner == 'frictionlessdata'
# TODO: migrate to macos-latest after figuring out how to
# make `posgres/pg_config` works in the environment. Currently, it fails
# with the following error: "pg_config" not found"
runs-on: macos-12
runs-on: macos-14
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Set up postgresql
run: brew install postgresql
- name: Prepare environment
run: pip3 install hatch
- name: Prepare variables
Expand Down

0 comments on commit 6b72909

Please sign in to comment.