mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
Cleanup CI - remove the skip_tests call, general cleanup. (#2423)
This commit is contained in:
parent
dbbec88c4d
commit
8a0ad26d4e
4 changed files with 6 additions and 39 deletions
21
.github/workflows/pull-request.yml
vendored
21
.github/workflows/pull-request.yml
vendored
|
|
@ -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:
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue