Cleanup CI - remove the skip_tests call, general cleanup. (#2423)

This commit is contained in:
DaneEvans 2025-07-12 22:12:39 +10:00 committed by GitHub
parent dbbec88c4d
commit 8a0ad26d4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 39 deletions

View file

@ -10,38 +10,25 @@ concurrency:
cancel-in-progress: true
jobs:
scheduled_updates:
if: github.head_ref == 'scheduled-updates'
runs-on: ubuntu-latest
steps:
- name: Always pass for scheduled-updates
run: |
echo Scheduled updates branch, auto-passing by default.
echo We could add an xml linter here.
build_and_detekt:
if: github.repository == 'meshtastic/Meshtastic-Android'
if: github.repository == 'meshtastic/Meshtastic-Android' && github.head_ref != 'scheduled-updates'
uses: ./.github/workflows/reusable-android-build.yml
with:
skip_tests: ${{ github.head_ref == 'scheduled-updates' }}
secrets:
GRADLE_ENCRYPTION_KEY: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
# inputs.upload_artifacts defaults to true, so no need to specify for PRs
androidTest:
# AssumingandroidTest should also only run for the main repository
if: github.repository == 'meshtastic/Meshtastic-Android'
# Assuming androidTest should also only run for the main repository
if: github.repository == 'meshtastic/Meshtastic-Android' && github.head_ref != 'scheduled-updates'
uses: ./.github/workflows/reusable-android-test.yml
with:
api_levels: '[35]' # Run only on API 35 for PRs
skip_tests: ${{ github.head_ref == 'scheduled-updates' }}
# upload_artifacts defaults to true, so no need to explicitly set
secrets:
GRADLE_ENCRYPTION_KEY: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
check-workflow-status:
name: Check Workflow Status
name: Check Workflow Status # Matches another in merge-queue, and is required.
runs-on: ubuntu-latest
needs:
[