Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Bump torch from 2.1.2 to 2.2.0 #186

Bump torch from 2.1.2 to 2.2.0

Bump torch from 2.1.2 to 2.2.0 #186

Workflow file for this run

name: CI testing
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
on:
# Trigger the workflow on push or pull request, but only for the master branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
pytest:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macOS-latest ]
python-version: [ 3.9 ]
# Timeout: https://stackoverflow.com/a/59076067/4521646
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip --version
pip install -e . -U -q -r tests/requirements.txt -f https://download.pytorch.org/whl/cpu/torch_stable.html
pip list
shell: bash
- name: Tests
run: coverage run --source research_app -m pytest research_app tests -v
- name: Statistics
run: coverage report