From b73e89615aa139b811e8a7428fc35be81061a84a Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Tue, 17 Sep 2024 13:49:29 +0100 Subject: [PATCH 1/2] Update test-cm.yml --- .github/workflows/test-cm.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-cm.yml b/.github/workflows/test-cm.yml index f01785f88..7a5307992 100644 --- a/.github/workflows/test-cm.yml +++ b/.github/workflows/test-cm.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] - on: [ubuntu-latest, windows-latest] + on: [ubuntu-latest, windows-latest, macos-latest] runs-on: "${{ matrix.on }}" steps: - uses: actions/checkout@v4 @@ -37,7 +37,8 @@ jobs: python -m pip install . python -m cmind # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }} - cm pull repo mlcommons@cm4mlops --branch=main + # cm pull repo mlcommons@cm4mlops --branch=main + cm init - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names From 1f0499b2cf90e54b187fe3e1b622c473f0bfe1f4 Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Tue, 17 Sep 2024 13:55:57 +0100 Subject: [PATCH 2/2] Update test-cm.yml: skip python 3.7 on macos --- .github/workflows/test-cm.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test-cm.yml b/.github/workflows/test-cm.yml index 7a5307992..65efad24c 100644 --- a/.github/workflows/test-cm.yml +++ b/.github/workflows/test-cm.yml @@ -18,6 +18,9 @@ jobs: matrix: python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] on: [ubuntu-latest, windows-latest, macos-latest] + exclude: + - python-version: "3.7" + on: "macos-latest" runs-on: "${{ matrix.on }}" steps: - uses: actions/checkout@v4