Skip to content

Commit

Permalink
Excluding Torch version 2.2.0 (#89)
Browse files Browse the repository at this point in the history
Excluding torch version 2.2.0 with Python 3.12 until fixed. 
pytorch/pytorch#110436
Also updated py-coverage versions and directory.
  • Loading branch information
aavashsubedi authored Mar 11, 2024
1 parent 084aea6 commit 967cf56
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 967cf56

Please sign in to comment.