20 AI testers on 20 different phones, in parallel, on GitHub's free runners: Claude Code agents on iOS Simulators and Android emulators that find broken flows, translation, layout and accessibility bugs
Python accessibility-testingai-agentsai-testingandroidandroid-emulatorclaudeclaude-codee2e-testingexploratory-testingexpofluttergithub-actionsiosios-simulatorllmmobile-testingqareact-nativetest-automationui-testing
Release workflow: can also run from the Actions tab, and skips a version already released
Pierre RAFFALLI4fa3d99a86d6
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex dfb620f..66c96b7 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -1,9 +1,15 @@-# Publishes a GitHub release when a version tag is pushed: git tag v0.2.0 && git push origin v0.2.0-# The notes are that version's section of CHANGELOG.md, with its links made absolute.+# Publishes a GitHub release with that version's section of CHANGELOG.md as notes.+# Either push a tag (git tag v0.2.0 && git push origin v0.2.0), or run this workflow+# from the Actions tab: it tags main with the latest version of CHANGELOG.md.name: Releaseon:push:tags: ["v*"]+ workflow_dispatch:+ inputs:+ version:+ description: "Version to publish, like 0.2.0 (empty: the latest one in CHANGELOG.md)"+ required: falsepermissions:contents: writejobs:@@ -12,13 +18,19 @@ jobs:steps:- uses: actions/checkout@v4- name: Notes from CHANGELOG.md+ env: { INPUT_VERSION: "${{ inputs.version }}" }run: |- V="${GITHUB_REF_NAME#v}"+ if [ "$GITHUB_REF_TYPE" = tag ]; then V="${GITHUB_REF_NAME#v}"; else V="${INPUT_VERSION#v}"; fi+ [ -n "$V" ] || V=$(sed -n 's/^## \([0-9][0-9.]*\) .*/\1/p' CHANGELOG.md | head -1)+ echo "TAG=v$V" >> "$GITHUB_ENV"+ export TAG="v$V"awk -v v="$V" '/^## /{p = index($0, "## " v " ") == 1; next} p' CHANGELOG.md \- | perl -pe 's{\]\((?!https?://|#)(?:\./)?([^)]+)\)}{](https://github.com/$ENV{GITHUB_REPOSITORY}/blob/$ENV{GITHUB_REF_NAME}/$1)}g' \+ | perl -pe 's{\]\((?!https?://|#)(?:\./)?([^)]+)\)}{](https://github.com/$ENV{GITHUB_REPOSITORY}/blob/$ENV{TAG}/$1)}g' \> notes.mdgrep -q . notes.md || { echo "No section for $V in CHANGELOG.md"; exit 1; }cat notes.md- name: Releaseenv: { GH_TOKEN: "${{ github.token }}" }- run: gh release create "$GITHUB_REF_NAME" --title "$GITHUB_REF_NAME" --notes-file notes.md --verify-tag+ run: |+ if gh release view "$TAG" >/dev/null 2>&1; then echo "$TAG is already released"; exit 0; fi+ gh release create "$TAG" --target "$GITHUB_SHA" --title "$TAG" --notes-file notes.md