Bump torch from 2.1.1 to 2.2.0 #352
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.7", "3.8", "3.9", "3.10"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
curl -sSL https://install.python-poetry.org | python - --version 1.3.2 | |
poetry install --with dev,docs --all-extras | |
echo "PYTHONPATH=`pwd`" >> $GITHUB_ENV | |
- name: Build Docs | |
run: | | |
sudo apt-get update -y && sudo apt-get install -y pandoc | |
poetry run sphinx-build -b html -a docs docs/site | |
- name: Run Tests | |
run: | | |
poetry run pytest |