From d2265f36ba6129b5aa605e54384e46b3fba914e6 Mon Sep 17 00:00:00 2001 From: skshetry Date: Tue, 1 Nov 2022 14:30:46 +0545 Subject: [PATCH] ci: run only single macOS job (#8509) * ci: run only single macOS job * ci: use alls-green@release gate check --- .github/workflows/tests.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index b02b30373..9338715d2 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -45,13 +45,14 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, windows-latest, macos-latest] + os: [ubuntu-20.04, windows-latest] pyv: ["3.8", "3.9", "3.10"] pytest-filter: - "import or plot or live or experiment" - "not (import or plot or live or experiment)" include: - - {os: ubuntu-latest, pyv: "3.11-dev"} + - {os: ubuntu-latest, pyv: "3.11"} + - {os: macos-latest, pyv: "3.8"} steps: - uses: actions/checkout@v3 @@ -75,6 +76,14 @@ jobs: with: file: ./coverage.xml fail_ci_if_error: false + check: + if: always() + needs: [lint, tests] + runs-on: ubuntu-latest + steps: + - uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }} notify: if: github.ref == 'refs/heads/main' && failure() needs: [lint, tests]