From 2a16f7f67f23fe0e6a4905502606d2c93e196d82 Mon Sep 17 00:00:00 2001 From: Diego Torres Milano Date: Tue, 23 Dec 2025 09:33:16 -0800 Subject: [PATCH 1/5] Revise Culebratester2 setup instructions in README Updated instructions for running CulebraTester2 and adjusted numbering. --- README.md | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 2ce3b667..80e88e58 100644 --- a/README.md +++ b/README.md @@ -51,18 +51,11 @@ Or check the wiki for more alternatives. ``` 2. **Start CulebraTester2 on your device:** - ```bash - # Install the APK - adb install -r culebratester2.apk - # Start the service - adb shell am instrument -w com.dtmilano.android.culebratester2/.CulebraTester2Instrumentation + Check the details at [How to run CulebraTester2 ?](https://github.com/dtmilano/CulebraTester2-public?tab=readme-ov-file#how-to-run-culebratester2-) - # Forward the port - adb forward tcp:9987 tcp:9987 - ``` -3. **Configure your AI assistant:** +4. **Configure your AI assistant:** Add to `.kiro/settings/mcp.json` or `~/.kiro/settings/mcp.json`: ```json @@ -78,7 +71,7 @@ Or check the wiki for more alternatives. } ``` -4. **Start testing with natural language:** +5. **Start testing with natural language:** - "Get the device screen size" - "Launch the Calculator app" - "Find the button with text Submit and click it" From 08c63f3bf574c1661b4408c7062cbace260eb231 Mon Sep 17 00:00:00 2001 From: Diego Torres Milano Date: Tue, 23 Dec 2025 12:39:31 -0800 Subject: [PATCH 2/5] Update Python publish workflow with permissions Added permissions for id-token and contents in the deploy job. --- .github/workflows/pythonpublish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index ed13ba09..2b4e7720 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -7,6 +7,9 @@ on: jobs: deploy: runs-on: ubuntu-latest + permissions: + id-token: write # Mandatory for trusted publishing + contents: read steps: - uses: actions/checkout@v4 - name: Set up Python @@ -18,9 +21,6 @@ jobs: python -m pip install --upgrade pip pip install setuptools wheel twine - name: Build and publish - env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | python setup.py clean sdist bdist_wheel twine upload dist/* From ce23fdfb47649b2db9cae1f6f0124f37337032ca Mon Sep 17 00:00:00 2001 From: Diego Torres Milano Date: Tue, 23 Dec 2025 12:45:52 -0800 Subject: [PATCH 3/5] Update Python package upload workflow triggers and steps --- .github/workflows/pythonpublish.yml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index 2b4e7720..a6ed1588 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -2,25 +2,27 @@ name: Upload Python Package on: release: - types: [created] + types: [published,created] # Triggers the workflow when a release is published jobs: - deploy: + build-and-publish: runs-on: ubuntu-latest + environment: + name: pypi # Must match the environment name configured on PyPI (if used) permissions: - id-token: write # Mandatory for trusted publishing contents: read + id-token: write # Mandatory for OIDC trusted publishing + steps: - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: "3.x" - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel twine - - name: Build and publish - run: | - python setup.py clean sdist bdist_wheel - twine upload dist/* + run: python -m pip install --upgrade pip build + - name: Build package + run: python -m build + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + # No username or password needed; OIDC handles authentication From 152daa5646d863763e6599921e6ac42b6d9bf6ba Mon Sep 17 00:00:00 2001 From: Diego Torres Milano Date: Tue, 23 Dec 2025 12:46:17 -0800 Subject: [PATCH 4/5] Change environment name from 'pypi' to 'release' --- .github/workflows/pythonpublish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index a6ed1588..97a0cb9b 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -8,7 +8,7 @@ jobs: build-and-publish: runs-on: ubuntu-latest environment: - name: pypi # Must match the environment name configured on PyPI (if used) + name: release # Must match the environment name configured on PyPI (if used) permissions: contents: read id-token: write # Mandatory for OIDC trusted publishing From c75c684b7a5b2d8ab0dc42862390eafcb0de6897 Mon Sep 17 00:00:00 2001 From: Diego Torres Milano Date: Tue, 23 Dec 2025 18:50:59 -0800 Subject: [PATCH 5/5] Format natural language test cases in italics --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 80e88e58..b01b23fa 100644 --- a/README.md +++ b/README.md @@ -72,11 +72,11 @@ Or check the wiki for more alternatives. ``` 5. **Start testing with natural language:** - - "Get the device screen size" - - "Launch the Calculator app" - - "Find the button with text Submit and click it" - - "Take a screenshot" - - "Swipe up to scroll" + - "_Get the device screen size_" + - "_Launch the Calculator app_" + - "_Find the button with text Submit and click it_" + - "_Take a screenshot_" + - "_Swipe up to scroll_" ## MCP Tools Available