Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excluding Torch version 2.2.0 #89

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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