awrise 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,33 @@
1
+ name: Publish to PyPI
2
+ on:
3
+ release:
4
+ types: [published]
5
+ workflow_dispatch:
6
+ permissions:
7
+ id-token: write
8
+ contents: read
9
+ jobs:
10
+ publish:
11
+ runs-on: [self-hosted, Linux, X64]
12
+ environment: pypi
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: actions/setup-python@v5
16
+ with:
17
+ python-version: "3.12"
18
+ - name: Install package + test tools
19
+ run: |
20
+ pip install build
21
+ pip install -e .
22
+ pip install pytest pytest-asyncio pytest-timeout
23
+ - name: Run the test suite before publishing
24
+ run: python -m pytest tests/ -q --timeout=180
25
+ - name: Build package
26
+ run: python -m build
27
+ - name: Moat guard (inspect built wheel + sdist)
28
+ run: python scripts/check_moat_boundary.py
29
+ - name: Publish to PyPI
30
+ uses: pypa/gh-action-pypi-publish@release/v1
31
+ with:
32
+ packages-dir: dist/
33
+ skip-existing: true