Skip to content

attempt to upgrade to linkml 1.7 compatibility, mimicing docgen's interaction with generator superclass #21

attempt to upgrade to linkml 1.7 compatibility, mimicing docgen's interaction with generator superclass

attempt to upgrade to linkml 1.7 compatibility, mimicing docgen's interaction with generator superclass #21

Workflow file for this run

name: Pull request unit tests
on:
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.8, 3.9]
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 Poetry
uses: snok/install-poetry@v1.3
with:
virtualenvs-create: true
virtualenvs-in-project: true
# load cached venv if cache exists
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v2
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies and run
run: |
poetry install --no-interaction
poetry run python -m unittest