Skip to content

Commit

Permalink
Now Github Actions provides python3 via setup-python also for Apple S…
Browse files Browse the repository at this point in the history
…ilicon Macs
  • Loading branch information
misl6 committed Oct 15, 2023
1 parent 884caa5 commit 0274617
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
13 changes: 0 additions & 13 deletions .ci/osx_ci.sh

This file was deleted.

9 changes: 2 additions & 7 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ jobs:
python: "3.8"
steps:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python }}
# Needs to be skipped on our self-hosted runners tagged as 'apple-silicon-m1'
if: ${{ matrix.runs_on != 'apple-silicon-m1' }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

Expand All @@ -40,15 +39,11 @@ jobs:

- name: Install project
run: |
source .ci/osx_ci.sh
arm64_set_path_and_python_version ${{ matrix.python }}
pip install cython pytest
pip install .
- name: Test with pytest
run: |
source .ci/osx_ci.sh
arm64_set_path_and_python_version ${{ matrix.python }}
make test_lib
make
make tests

0 comments on commit 0274617

Please sign in to comment.