orgwarrior-mcp 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,35 @@
1
+ # Every tool against a throwaway Emacs, the oldest supported and the newest.
2
+ # orgwarrior and orgwarrior-web are checked out beside this one, as for
3
+ # development.
4
+ name: tests
5
+
6
+ on:
7
+ push:
8
+ pull_request:
9
+ workflow_dispatch:
10
+
11
+ jobs:
12
+ test:
13
+ runs-on: ubuntu-latest
14
+ strategy:
15
+ fail-fast: false
16
+ matrix:
17
+ emacs: ["29.4", "31.1"]
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ with:
21
+ path: orgwarrior-mcp
22
+ - uses: actions/checkout@v4
23
+ with:
24
+ repository: aleksozolins/orgwarrior
25
+ path: orgwarrior
26
+ - uses: actions/checkout@v4
27
+ with:
28
+ repository: aleksozolins/orgwarrior-web
29
+ path: orgwarrior-web
30
+ - uses: purcell/setup-emacs@v8.0
31
+ with:
32
+ version: ${{ matrix.emacs }}
33
+ - uses: astral-sh/setup-uv@v6
34
+ - run: uv run pytest -q
35
+ working-directory: orgwarrior-mcp
@@ -0,0 +1,27 @@
1
+ # On a v* tag: build and publish to PyPI through trusted publishing (PyPI
2
+ # trusts this workflow in the pypi environment; no token is stored).
3
+ name: publish
4
+
5
+ on:
6
+ push:
7
+ tags: ["v*"]
8
+ # By hand on the tag too (gh workflow run publish.yml --ref v0.1.0), should
9
+ # its push not start a run.
10
+ workflow_dispatch:
11
+
12
+ jobs:
13
+ publish:
14
+ runs-on: ubuntu-latest
15
+ environment: pypi
16
+ permissions:
17
+ id-token: write
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ - uses: astral-sh/setup-uv@v6
21
+ # A version can't be uploaded twice: the tag must be the one in pyproject.toml.
22
+ - name: Tag matches the version
23
+ run: |
24
+ version=$(python3 -c 'import tomllib; print(tomllib.load(open("pyproject.toml", "rb"))["project"]["version"])')
25
+ test "$GITHUB_REF_NAME" = "v$version" || { echo "tag $GITHUB_REF_NAME, version $version"; exit 1; }
26
+ - run: uv build
27
+ - uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,5 @@
1
+ __pycache__/
2
+ .venv/
3
+ .pytest_cache/
4
+ dist/
5
+ CLAUDE.local.md