We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e118bbd commit 02e6fe8Copy full SHA for 02e6fe8
2 files changed
.github/workflows/android.yml
@@ -32,6 +32,9 @@ jobs:
32
33
- name: Format check (ktfmt)
34
run: make fmt-check
35
+
36
+ - name: Run Go tests
37
+ run: make go-test
38
39
- name: Build APKs
40
run: make tailscale-debug.apk
Makefile
@@ -311,6 +311,10 @@ checkandroidsdk: ## Check that Android SDK is installed
311
\tANDROID_SDK_ROOT=$(ANDROID_SDK_ROOT)\n\n\
312
See README.md for instructions on how to install the prerequisites.\n"; exit 1)
313
314
+.PHONY: go-test
315
+ go-test: ## Run the Go tests (excludes packages requiring Android NDK)
316
+ ./tool/go test $$(./tool/go list ./... | grep -v '^github.com/tailscale/tailscale-android/libtailscale$$')
317
318
.PHONY: test
319
test: gradle-dependencies ## Run the Android tests
320
(cd android && ./gradlew test)
0 commit comments