Skip to content

fix external resource merging; better diff view #1024

fix external resource merging; better diff view

fix external resource merging; better diff view #1024

Workflow file for this run

name: code check
on: [push, pull_request]
jobs:
doc:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Run pre-commit
run: |
python -m pip install mkdocs-material
mkdocs build -s -d /tmp/neodb-docs
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Run pre-commit
run: |
python -m pip install pre_commit
SKIP=pyright python -m pre_commit run -a --show-diff-on-failure
type-checker:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12']
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: |
python -m pip install -r requirements-dev.lock
python -m pip install -r requirements.lock
- name: Run pyright
run: |
python -m pyright