From 23651edd8cf91231dcfb5f3504719a02a38767c7 Mon Sep 17 00:00:00 2001 From: Seth Shelnutt Date: Sat, 22 Jul 2023 08:16:03 -0400 Subject: [PATCH] Only use tensorflow 2.12 and 2.13 for python 3.9 --- .github/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6741220..ecafcbee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,13 +9,17 @@ jobs: strategy: fail-fast: false matrix: + python-verison: [3.7] ml-deps: - "torch==1.11.0+cpu torchvision==0.12.0+cpu torchdata==0.3.0 tensorflow-cpu==2.8.1" - "torch==1.12.1+cpu torchvision==0.13.1+cpu torchdata==0.4.1 tensorflow-cpu==2.9.1" - "torch==1.13.0+cpu torchvision==0.14.0+cpu torchdata==0.5.0 tensorflow-cpu==2.10.0" - "torch==1.13.0+cpu torchvision==0.14.0+cpu torchdata==0.5.0 tensorflow-cpu==2.11.0" - - "torch==1.13.0+cpu torchvision==0.14.0+cpu torchdata==0.5.0 tensorflow-cpu==2.12.0" - - "torch==1.13.0+cpu torchvision==0.14.0+cpu torchdata==0.5.0 tensorflow-cpu==2.13.0" + include: + - ml-deps: "torch==1.13.0+cpu torchvision==0.14.0+cpu torchdata==0.5.0 tensorflow-cpu==2.12.0" + python_version: 3.9 + - ml-deps: "torch==1.13.0+cpu torchvision==0.14.0+cpu torchdata==0.5.0 tensorflow-cpu==2.13.0" + python_version: 3.9 env: run_coverage: ${{ github.ref == 'refs/heads/master' }} @@ -26,7 +30,7 @@ jobs: - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: - python-version: "3.7" + python-version: ${{ matrix.python-version }} - name: Cache dependencies uses: actions/cache@v3