Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d07b060

Browse files
committed
ci: Add macOS build.
1 parent caabeeb commit d07b060

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/tests.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,32 @@ env:
1010
NO_AT_BRIDGE: 1 # Necessary for GTK3 interactive test.
1111
OPENBLAS_NUM_THREADS: 1
1212
PYTHONFAULTHANDLER: 1
13-
XVFB_RUN: xvfb-run -a
1413

1514
jobs:
1615
test:
17-
name: "Python ${{ matrix.python-version }} ${{ matrix.name-suffix }}"
18-
runs-on: ubuntu-16.04
16+
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }} ${{ matrix.name-suffix }}"
17+
runs-on: ${{ matrix.os }}
1918

2019
strategy:
2120
matrix:
2221
include:
2322
- name-suffix: "(Minimum Versions)"
23+
os: ubuntu-16.04
2424
python-version: 3.7
2525
extra-requirements: '-c requirements/testing/minver.txt'
2626
delete-font-cache: true
27-
- python-version: 3.7
27+
XVFB_RUN: xvfb-run -a
28+
- os: ubuntu-16.04
29+
python-version: 3.7
2830
extra-requirements: '-r requirements/testing/travis_extra.txt'
29-
- python-version: 3.8
31+
XVFB_RUN: xvfb-run -a
32+
- os: ubuntu-16.04
33+
python-version: 3.8
3034
extra-requirements: '-r requirements/testing/travis_extra.txt'
35+
XVFB_RUN: xvfb-run -a
36+
- os: macos-latest
37+
python-version: 3.8
38+
XVFB_RUN: ""
3139

3240
steps:
3341
- uses: actions/checkout@v2
@@ -80,7 +88,7 @@ jobs:
8088
ttf-wqy-zenhei
8189
;;
8290
macOS)
83-
ci/osx-deps
91+
true
8492
;;
8593
esac
8694

0 commit comments

Comments
 (0)