Skip to content

Solve gpg retreive keys issues #7

Solve gpg retreive keys issues

Solve gpg retreive keys issues #7

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.10","3.11","3.12"]
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 GPG
run: sudo apt update && sudo apt install -y gnupg
- 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 mytardis_rocrate_builder/
- name: Black - check code formatting
run: poetry run python -m black --check --diff .
- name: pytest - run the tests
run: poetry run python -m pytest -vv
- name: pylint - static code analysis
run: poetry run python -m pylint --rcfile .pylintrc mytardis_rocrate_builder/
- 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