Skip to content

chore: add RO-Crate OpenAPI specs #2

chore: add RO-Crate OpenAPI specs

chore: add RO-Crate OpenAPI specs #2

Workflow file for this run

name: crate_db checks
on: [push, pull_request]
jobs:
lint-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.10, 3.11]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Lint with flake8
run: |
pip install flake8
flake8 crate_db tests
- name: Run tests
run: |
poetry run pytest