Skip to content

[pre-commit.ci] pre-commit suggestions #710

[pre-commit.ci] pre-commit suggestions

[pre-commit.ci] pre-commit suggestions #710

Workflow file for this run

name: Test
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
python-version: [3.8, 3.9, "3.10"]
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip poetry
poetry install
poetry run pip install 'setuptools==59.5.0' # temporary fix for https://github.com/pytorch/pytorch/pull/69904
- name: Unit tests
run: |
poetry run pytest