Skip to content

more options for print lab CLI #30

more options for print lab CLI

more options for print lab CLI #30

Workflow file for this run

name: Test and Lint RO-Crate generation
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install Dependencies
run: poetry install
if: steps.cache.outputs.cache-hit != 'true'
- name: isort - check import formatting
run: poetry run python -m isort --check --diff --profile black src/
- name: Black - check code formatting
run: poetry run python -m black --check --diff .
- name: pytest - run the tests
run: poetry run python -m pytest -v --cov=src/ tests/

Check failure on line 36 in .github/workflows/pull_request.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pull_request.yml

Invalid workflow file

You have an error in your yaml syntax on line 36
- name: pylint - static code analysis
run: poetry run python -m pylint --rcfile .pylintrc src/
- name: mypy - load types
run: poetry run mypy --install-types --non-interactive
- name: mypy - static type checking
# Takes configuration from pyproject.toml
run: poetry run python -m mypy
#add safety and bandit back in!!!!dfpaj'f