Skip to content

Commit

Permalink
Fix "macos" ci tests. (#2135)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamenot authored Jan 9, 2024
1 parent 3186967 commit f7996ba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-auto-commit-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:

jobs:
auto-commit-mac:
runs-on: macos-11
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -20,11 +20,11 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.9"
- name: Update requirements
run: |
cd $GITHUB_WORKSPACE
python3.8 -m venv ${{env.venv_dir}}
python3.9 -m venv ${{env.venv_dir}}
. ${{env.venv_dir}}/bin/activate
pip install --upgrade pip
pip install wheel==0.38.4
Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/ci-base-tests-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
base-tests-mac:
runs-on: macos-11
runs-on: macos-12
strategy:
matrix:
tests:
Expand All @@ -29,12 +29,10 @@ jobs:
uses: actions/checkout@v3
with:
ref: master
- name: Setup Python
run: |
brew update
brew install [email protected]
brew unlink [email protected]
brew link --force --overwrite [email protected]
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Setup SUMO
run: |
brew install xquartz
Expand All @@ -43,7 +41,7 @@ jobs:
brew install geos
- name: Install dependencies
run: |
python3.8 -m venv ${{env.venv_dir}}
python3.9 -m venv ${{env.venv_dir}}
. ${{env.venv_dir}}/bin/activate
pip install --upgrade pip
pip install wheel==0.38.4
Expand Down

0 comments on commit f7996ba

Please sign in to comment.