Skip to content

Bump torch from 1.10.0 to 2.2.0 #163

Bump torch from 1.10.0 to 2.2.0

Bump torch from 1.10.0 to 2.2.0 #163

Workflow file for this run

name: Test
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with Black
run: |
pip install black
black . --check -l 120
- name: Test with unittest
run: |
python -m unittest discover tests -v
- name: Check types with mypy
run: |
pip install mypy
mypy . --ignore-missing-imports