Skip to content

Merge branch 'tensor' of https://github.com/rbturnbull/hierarchicalso… #46

Merge branch 'tensor' of https://github.com/rbturnbull/hierarchicalso…

Merge branch 'tensor' of https://github.com/rbturnbull/hierarchicalso… #46

Workflow file for this run

name: testing
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
- name: Initialise Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install dependencies for Python ${{ matrix.python-version }}
run: |
poetry env use "${{ matrix.python-version }}"
poetry install
- name: Testing
run: |
poetry env info
poetry run pytest