Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,23 @@ jobs:
build:
name: Deploy to GitHub pages
runs-on: ubuntu-22.04
env:
POETRY_KEYRING_ENABLED: "false"
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- run: pip install -q poetry
python-version: "3.14"
- run: python -m pip install -U pip && python -m pip install -q "poetry==2.3.0"
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends libxml2-dev libxslt1-dev pkg-config
sudo rm -rf /var/lib/apt/lists/*
- run: poetry config virtualenvs.create false --local
- run: poetry install
- run: pip install jeeves-yeti-pyproject>=0.2.40
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: jeeves-sh/mkdocs-material-insiders
path: mkdocs-material-insiders
Expand Down
23 changes: 14 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,35 +10,40 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
POETRY_KEYRING_ENABLED: "false"
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring
strategy:
matrix:
python-version: ['3.11', '3.12']
python-version: ['3.11', '3.12', '3.14']

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install poetry
run: |
pip install 'poetry<1.5'

# Adding `poetry` to `$PATH`:
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
python -m pip install -U pip
python -m pip install "poetry==2.3.0"

- name: Set up cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends libxml2-dev libxslt1-dev pkg-config
sudo rm -rf /var/lib/apt/lists/*
- name: Install dependencies
run: |
poetry config virtualenvs.in-project true
poetry run pip install -U pip jeeves-yeti-pyproject
poetry install

- name: Lint
Expand All @@ -49,6 +54,6 @@ jobs:

# Upload coverage to codecov: https://codecov.io/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
11 changes: 11 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# AGENTS.md

This repository follows these **commit guidelines**:

- **One line commit messages**: subject line only (no body), concise and imperative.
- **One file per commit**: each commit should modify exactly one file (add/modify/rename).

When making changes:

- Prefer multiple small commits over one large commit.
- Keep commits ordered so history stays bisectable (e.g. config/tooling changes before regenerated lockfiles).
2 changes: 1 addition & 1 deletion docs/plugins/how-to.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ hello: examples/hello.py

# :fontawesome-solid-plug-circle-plus: Your new `jeeves-super-plugin`

* Create a Python 3.10+ virtual env for your new plugin project
* Create a Python 3.10+ virtual env for your new plugin project (recommended: Python 3.14)
* `pip install -U pip poetry`
* `poetry init`
* `poetry add jeeves-shell --extras=all`
Expand Down
Loading