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.
- awrise-0.1.0/.github/workflows/pypi-publish.yml +33 -0
- awrise-0.1.0/.gitignore +1058 -0
- awrise-0.1.0/LICENSE +21 -0
- awrise-0.1.0/PKG-INFO +97 -0
- awrise-0.1.0/README.md +87 -0
- awrise-0.1.0/aither-manifest.json +18 -0
- awrise-0.1.0/awrise/__init__.py +3 -0
- awrise-0.1.0/awrise/_doctor.py +145 -0
- awrise-0.1.0/awrise/cli.py +223 -0
- awrise-0.1.0/pyproject.toml +17 -0
- awrise-0.1.0/scripts/check_moat_boundary.py +254 -0
- awrise-0.1.0/tests/__init__.py +0 -0
- awrise-0.1.0/tests/test_awrise.py +92 -0
|
@@ -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
|