forked from github/pelican
migrate configuration to PEP621 compatible config
- adapt documentation - add wheel tests to check wheel contents. - adapt pipeline to use pdm - adapt autopub config - add scripts as shortcuts to invoke tasks
This commit is contained in:
parent
c18f1a7308
commit
8b6d215934
13 changed files with 113 additions and 1495 deletions
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
|
|
@ -51,23 +51,18 @@ jobs:
|
|||
lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install Poetry
|
||||
run: pipx install poetry
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
- uses: pdm-project/setup-pdm@v3
|
||||
with:
|
||||
python-version: "3.9"
|
||||
cache: "poetry"
|
||||
cache-dependency-path: "pyproject.toml"
|
||||
python-version: 3.9
|
||||
cache: true
|
||||
cache-dependency-path: ./pyproject.toml
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
poetry env use "3.9"
|
||||
poetry install --no-interaction --no-root
|
||||
pdm install
|
||||
- name: Run linters
|
||||
run: poetry run invoke lint --diff
|
||||
run: pdm lint --diff
|
||||
|
||||
docs:
|
||||
name: Build docs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue