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 e64bf9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
13 changes: 0 additions & 13 deletions .ci/osx_ci.sh

This file was deleted.

11 changes: 4 additions & 7 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ jobs:
python: "3.7"
- runs_on: apple-silicon-m1
python: "3.8"
- runs_on: apple-silicon-m1
python: "3.9"
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 +41,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 e64bf9c

Please sign in to comment.