Added number of intra-dataset links as property (#11) #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code quality | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
check_code_quality: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install poetry | |
run: pipx install poetry | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
cache: 'poetry' | |
- name: Install dependencies | |
run: | | |
python -m pip install nox_poetry | |
- name: Assess code quality | |
run: nox -s style_checking | |
- name: Assess package quality | |
run: nox -s pyroma | |
- name: Type checking | |
run: nox -s type_checking | |
doc_quality: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install poetry | |
run: pipx install poetry | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
cache: 'poetry' | |
- name: Install dependencies | |
run: | | |
python -m pip install nox_poetry | |
poetry install -v | |
- name: Check if docs build | |
run: | | |
nox -s build_docs |