You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/stale.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ jobs:
9
9
issues: write
10
10
pull-requests: write
11
11
steps:
12
-
- uses: actions/stale@v9
12
+
- uses: actions/stale@v10
13
13
with:
14
14
repo-token: ${{ secrets.GITHUB_TOKEN }}
15
15
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
- JDK: 21 is used in CI and repository setup (`.github/actions/common-setup/action.yml` and `.github/workflows/*` use setup-java with `java-version: 21`). Note: project `compileOptions` and `kotlinOptions.jvmTarget` are set to Java 17 in `app/build.gradle`.
@@ -66,6 +77,10 @@ All source files must include the GPLv3 license header:
66
77
Use ktlint for code formatting:
67
78
- Check: `./gradlew ktlintCheck`
68
79
- Format: `./gradlew ktlintFormat`
80
+
81
+
Repository-specific ktlint notes:
82
+
- Plugin configured in `app/build.gradle` as `org.jlleitschuh.gradle.ktlint` (version `14.2.0`).
83
+
- Baseline and rules: see `app/config/ktlint/baseline.xml` and project `.editorconfig` for formatting rules.
69
84
70
85
## Testing Requirements
71
86
@@ -162,6 +177,22 @@ class MainActivityInstrumentedTest {
162
177
| Run tests with coverage |`./gradlew jacocoTestCoverageVerification`|
163
178
| Run instrumented tests |`./gradlew connectedDebugAndroidTest`|
164
179
180
+
### CI / GitHub Actions (what the repo runs)
181
+
182
+
- Workflows:
183
+
-`.github/workflows/android-ci.yml` — main Android CI pipeline (jobs: ktlint, lint, test, coverage, build-apk, emulator-test). Runners use `ubuntu-24.04` / `ubuntu-latest` and a composite action `.github/actions/common-setup` to install JDK 21 and Gradle.
- Important CI details and artifact/report locations (useful for reproducing or debugging locally):
187
+
- ktlint report: `app/build/reports/ktlint` (CI uploads as `ktlint-report`).
188
+
- lint report: `app/build/reports/lint-results*.*` (CI uploads as `lint-report`).
189
+
- unit test reports: `app/build/reports/tests` (CI uploads as `test-results`). The unit test task invoked is `:app:testDebugUnitTest` / `./gradlew testDebugUnitTest`.
190
+
- JaCoCo report (CI expects the XML): `app/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml` (uploaded to Codecov using `secrets.CODECOV_TOKEN`).
191
+
- APK artifact: `app/build/outputs/apk/debug` (uploaded as `artifact-apk`).
192
+
- Instrumentation / emulator test outputs: `app/build/reports/androidTests` and `app/build/outputs/androidTest-results/connected/**/*.xml` for JUnit XMLs.
193
+
194
+
- Emulator job notes: the GitHub Action enables KVM, caches AVD (`~/.android/avd/*`) and runs `./gradlew connectedDebugAndroidTest`. Emulator caching and KVM are required for the `emulator-test` job in `android-ci.yml`.
195
+
165
196
## Privacy and Security Guidelines
166
197
167
198
1.**No Data Collection**: WiFiAnalyzer does not collect any personal/device information
0 commit comments