mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-22 21:52:28 +00:00
ci: start app tests only by hand (#7777)
This commit is contained in:
1 parent
fcef2ad008
commit
5834179be6
5 files changed
+24
-55
No files matched your search
@@ -1,14 +1,6 @@
|
||||
name: desktop-linux
|
||||
|
||||
# A push runs the jobs only when its head commit's message asks for them: see scripts/ci/desktop-linux/README.md.
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
# only f/ branches, so other branches' pull requests don't list skipped runs; elsewhere, run it by hand
|
||||
- "f/*"
|
||||
# a squash merge's message lists the merged commits' subjects, with their tags
|
||||
- "!master"
|
||||
- "!stable"
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
claude:
|
||||
@@ -29,8 +21,7 @@ permissions:
|
||||
actions: read
|
||||
|
||||
concurrency:
|
||||
# a push that asks for no run must not cancel one that does
|
||||
group: desktop-linux-${{ github.ref }}-${{ (github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[app-ci]') || contains(github.event.head_commit.message, '[app-ci:desktop]') || contains(github.event.head_commit.message, '[claude-test]') || contains(github.event.head_commit.message, '[claude-test:desktop]')) && 'requested' || github.run_id }}
|
||||
group: desktop-linux-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
@@ -43,13 +34,6 @@ env:
|
||||
jobs:
|
||||
plan:
|
||||
name: choose jobs, find earlier builds
|
||||
# the concurrency group repeats this test, as it can't read job outputs
|
||||
if: >-
|
||||
github.event_name == 'workflow_dispatch' ||
|
||||
contains(github.event.head_commit.message, '[app-ci]') ||
|
||||
contains(github.event.head_commit.message, '[app-ci:desktop]') ||
|
||||
contains(github.event.head_commit.message, '[claude-test]') ||
|
||||
contains(github.event.head_commit.message, '[claude-test:desktop]')
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 10
|
||||
outputs:
|
||||
@@ -65,9 +49,9 @@ jobs:
|
||||
- name: Choose jobs
|
||||
id: jobs
|
||||
env:
|
||||
CLAUDE: ${{ inputs.claude || contains(github.event.head_commit.message, '[claude-test]') || contains(github.event.head_commit.message, '[claude-test:desktop]') }}
|
||||
BACKEND: ${{ inputs.backend || contains(github.event.head_commit.message, '[ci-backend]') }}
|
||||
RELEASE: ${{ inputs.release || contains(github.event.head_commit.message, '[ci-release]') }}
|
||||
CLAUDE: ${{ inputs.claude }}
|
||||
BACKEND: ${{ inputs.backend }}
|
||||
RELEASE: ${{ inputs.release }}
|
||||
run: |
|
||||
echo "claude=$CLAUDE" | tee -a "$GITHUB_OUTPUT"
|
||||
echo "backend=$BACKEND" | tee -a "$GITHUB_OUTPUT"
|
||||
|
||||
@@ -1,13 +1,6 @@
|
||||
name: ios-sim
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
# only f/ branches, so other branches' pull requests don't list skipped runs; elsewhere, run it by hand
|
||||
- 'f/*'
|
||||
# a squash merge's message lists the merged commits' subjects, with their tags
|
||||
- '!master'
|
||||
- '!stable'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
claude:
|
||||
@@ -24,8 +17,7 @@ permissions:
|
||||
actions: read
|
||||
|
||||
concurrency:
|
||||
# a push that asks for no run must not cancel one that does
|
||||
group: ios-sim-${{ github.ref }}-${{ (github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[app-ci]') || contains(github.event.head_commit.message, '[app-ci:ios]') || contains(github.event.head_commit.message, '[claude-test]') || contains(github.event.head_commit.message, '[claude-test:ios]')) && 'requested' || github.run_id }}
|
||||
group: ios-sim-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
@@ -41,13 +33,6 @@ env:
|
||||
jobs:
|
||||
plan:
|
||||
name: choose jobs, find earlier builds
|
||||
# the concurrency group repeats this test, as it can't read job outputs
|
||||
if: >-
|
||||
github.event_name == 'workflow_dispatch' ||
|
||||
contains(github.event.head_commit.message, '[app-ci]') ||
|
||||
contains(github.event.head_commit.message, '[app-ci:ios]') ||
|
||||
contains(github.event.head_commit.message, '[claude-test]') ||
|
||||
contains(github.event.head_commit.message, '[claude-test:ios]')
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 10
|
||||
outputs:
|
||||
@@ -62,8 +47,8 @@ jobs:
|
||||
- name: Choose jobs
|
||||
id: jobs
|
||||
env:
|
||||
CLAUDE: ${{ inputs.claude || contains(github.event.head_commit.message, '[claude-test]') || contains(github.event.head_commit.message, '[claude-test:ios]') }}
|
||||
BACKEND: ${{ inputs.backend || contains(github.event.head_commit.message, '[ci-backend]') }}
|
||||
CLAUDE: ${{ inputs.claude }}
|
||||
BACKEND: ${{ inputs.backend }}
|
||||
run: |
|
||||
echo "claude=$CLAUDE" | tee -a "$GITHUB_OUTPUT"
|
||||
echo "backend=$BACKEND" | tee -a "$GITHUB_OUTPUT"
|
||||
|
||||
Reference in new issue
Block a user