From b010c15d1134a90c44ef07c22e821266dcc8bd8e 2021-10-10 15:30:32 From: Matthew Feickert Date: 2021-10-10 15:30:32 Subject: [PATCH] ci: Add testing for macOS on ends --- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9f9d938..c98d24e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,10 +11,17 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: - python-version: [3.7, 3.8, 3.9] + os: [ubuntu-latest] + python-version: ["3.7", "3.8", "3.9"] + # Test all on ubuntu, test ends on macos + include: + - os: macos-latest + python-version: "3.7" + - os: macos-latest + python-version: "3.9" steps: - uses: actions/checkout@v2 @@ -40,4 +47,5 @@ jobs: run: | pytest - name: Upload coverage to Codecov + if: matrix.os == 'ubuntu-latest' uses: codecov/codecov-action@v1