Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Now Github Actions provides python3 via setup-python also for Apple Silicon Macs #98

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading