Skip to content

Commit

Permalink
remove mac build (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
akaszynski authored Jan 12, 2022
1 parent 438e97e commit 046227c
Showing 1 changed file with 47 additions and 47 deletions.
94 changes: 47 additions & 47 deletions .github/workflows/testing-and-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,56 +200,56 @@ jobs:
path: dist/
retention-days: 7

mac_build:
runs-on: macos-latest
name: Mac OS Unit Testing
strategy:
matrix:
python-version: ['3.8']

steps:
- uses: actions/checkout@v2

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

- name: Build wheels
uses: joerick/cibuildwheel@v2.0.1
env:
CIBW_BEFORE_BUILD: pip install -r requirements_build.txt
CIBW_BUILD: cp38-macosx_x86_64

- name: Build wheels
if: startsWith(github.event.ref, 'refs/tags')
uses: joerick/cibuildwheel@v2.0.1
env:
CIBW_BEFORE_BUILD: pip install -r requirements_build.txt
CIBW_SKIP: pp* cp38-macosx_x86_64

- name: Show files
run: ls -lh wheelhouse
shell: bash

- name: Upload wheels
uses: actions/upload-artifact@v2
with:
path: wheelhouse/*.whl

- name: Install wheel
run: |
pip install wheelhouse/*38*
- name: Test
run: |
pip install -r requirements_test.txt
cd tests
pytest -v
# mac_build:
# runs-on: macos-latest
# name: Mac OS Unit Testing
# strategy:
# matrix:
# python-version: ['3.8']

# steps:
# - uses: actions/checkout@v2

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

# - name: Build wheels
# uses: joerick/cibuildwheel@v2.0.1
# env:
# CIBW_BEFORE_BUILD: pip install -r requirements_build.txt
# CIBW_BUILD: cp38-macosx_x86_64

# - name: Build wheels
# if: startsWith(github.event.ref, 'refs/tags')
# uses: joerick/cibuildwheel@v2.0.1
# env:
# CIBW_BEFORE_BUILD: pip install -r requirements_build.txt
# CIBW_SKIP: pp* cp38-macosx_x86_64

# - name: Show files
# run: ls -lh wheelhouse
# shell: bash

# - name: Upload wheels
# uses: actions/upload-artifact@v2
# with:
# path: wheelhouse/*.whl

# - name: Install wheel
# run: |
# pip install wheelhouse/*38*

# - name: Test
# run: |
# pip install -r requirements_test.txt
# cd tests
# pytest -v

Release:
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
needs: [check_style, doc_build, build, mac_build]
needs: [check_style, doc_build, build] # , mac_build
runs-on: ubuntu-latest
steps:
- name: Set up Python
Expand Down

0 comments on commit 046227c

Please sign in to comment.