Skip to content

update workflow github #180

update workflow github

update workflow github #180

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
checks:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
- python-version: 3.9

Check failure on line 11 in .github/workflows/python-tests.yml

View workflow run for this annotation

GitHub Actions / tests

Invalid workflow file

The workflow is not valid. .github/workflows/python-tests.yml (Line: 11, Col: 9): A sequence was not expected
pt-version: 1.10.2
- python-version: "3.10"
pt-version: 2.1.2
- python-version: "3.11"
pt-version: 2.4.1
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Test with tox (Python ${{ matrix.python-version }} - Torch ${{ matrix.pt-version }})
run: tox -e py$(echo ${{ matrix.python-version }} | tr -d .)-pt$(echo ${{ matrix.pt-version }})