v3.4.8: cross-project promotion, ingestion CLI, engagement fix, entit… #67
Workflow file for this run
This file contains hidden or 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: Publish to PyPI | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| permissions: | |
| id-token: write | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: pypi | |
| url: https://pypi.org/project/superlocalmemory/ | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Run tests before publish | |
| run: | | |
| uv run --with pytest python -m pytest tests/ -q --tb=short -x \ | |
| --ignore=tests/test_integration/test_mode_b_ollama.py \ | |
| --ignore=tests/test_integration/test_e2e.py \ | |
| --ignore=tests/test_integration/test_e2e_v32.py \ | |
| --ignore=tests/test_integration/test_e2e_v33.py | |
| - name: Build package | |
| run: uv build | |
| - name: Publish to PyPI (Trusted Publisher) | |
| uses: pypa/gh-action-pypi-publish@release/v1 |