From d01de411a879dc98dfa7eab4da41d52b903f466c Mon Sep 17 00:00:00 2001 From: Pengrong Zhu Date: Sun, 3 Oct 2021 16:49:17 +0800 Subject: [PATCH] add support for macos-11 (#630) Co-authored-by: you-n-g --- .github/workflows/python-publish.yml | 2 +- .github/workflows/test_macos.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 635896fc..c2c08334 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -12,7 +12,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest, macos-latest] + os: [windows-latest, macos-latest, macos-11] # not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129 python-version: [3.7, 3.8] diff --git a/.github/workflows/test_macos.yml b/.github/workflows/test_macos.yml index 9fda9930..46e5eaeb 100644 --- a/.github/workflows/test_macos.yml +++ b/.github/workflows/test_macos.yml @@ -10,9 +10,10 @@ on: jobs: build: - runs-on: macos-latest + runs-on: ${{ matrix.os }} strategy: matrix: + os: [macos-11, macos-latest] # not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129 python-version: [3.7, 3.8]