From 967cf568f203d156347394ec6f1a1ca777f40598 Mon Sep 17 00:00:00 2001 From: Aavash Subedi <87420856+aavashsubedi@users.noreply.github.com> Date: Mon, 11 Mar 2024 13:14:31 +0000 Subject: [PATCH] Excluding Torch version 2.2.0 (#89) Excluding torch version 2.2.0 with Python 3.12 until fixed. https://github.com/pytorch/pytorch/issues/110436 Also updated py-coverage versions and directory. --- .github/workflows/workflows.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/workflows.yaml b/.github/workflows/workflows.yaml index 3204b0a6..06ba9636 100644 --- a/.github/workflows/workflows.yaml +++ b/.github/workflows/workflows.yaml @@ -18,7 +18,11 @@ jobs: torchvision-version: 0.15.1 - torch-version: 2.2.0 torchvision-version: 0.17.0 - + exclude: + - python-version: "3.12" + torch-version: 2.0.0 + - python-version: "3.12" + torch-version: 2.1.0 steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -54,11 +58,11 @@ jobs: echo "Will be looking at coverage of dir graph_weather" # # install pytest-cov - pip install coverage==6.2 # https://github.com/nedbat/coveragepy/issues/1312 + pip install coverage==7.4.3 pip install pytest-cov # # make PYTESTCOV - export PYTESTCOV="--cov=graph_weather--cov-report=xml" + export PYTESTCOV="--cov=graph_weather tests/ --cov-report=xml" # echo results and save env var for other jobs echo "pytest-cov options that will be used are: $PYTESTCOV" echo "PYTESTCOV=$PYTESTCOV" >> $GITHUB_ENV