Skip to content

Commit

Permalink
Fix macOS CI runner (#891)
Browse files Browse the repository at this point in the history
  • Loading branch information
singiamtel authored Dec 3, 2024
1 parent 771e866 commit 567c418
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ jobs:
- name: Upload coverage information
if: ${{ always() && github.event.repository.owner.login == 'alisw' }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
files: coverage.json

mac-unittest:
name: mac-python${{ matrix.python-version }}
runs-on: macos-latest
runs-on: macos-14

strategy:
fail-fast: false # continue executing other checks if one fails
Expand All @@ -75,15 +75,18 @@ jobs:
- '3.11'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install test dependencies
run: |
# Hack to remove whatever the CI default image brings now, as it
# conflicts with the one in o2-full-deps [O2-5580]
brew uninstall --ignore-dependencies --force [email protected]
brew install modules alisw/system-deps/o2-full-deps sapling
python3 -m pip install --upgrade tox tox-gh-actions coverage
Expand All @@ -102,7 +105,7 @@ jobs:
- name: Upload coverage information
if: ${{ always() && github.event.repository.owner.login == 'alisw' }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
files: coverage.json

Expand All @@ -111,10 +114,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.x

Expand Down

0 comments on commit 567c418

Please sign in to comment.