test(android): add github action workflow step for unit tests (#4177)

Fixes #2309 

Not sure how to test the workflow itself in this PR 🤔

---------

Signed-off-by: Jason Elie Bou Kheir <5115126+jasonboukheir@users.noreply.github.com>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
This commit is contained in:
Jason Elie Bou Kheir
2024-03-21 09:25:13 -07:00
committed by GitHub
parent 7fece80006
commit 83030a155d
2 changed files with 11 additions and 1 deletions

View File

@@ -62,7 +62,6 @@ jobs:
- name: Run Test
run: |
# TODO: See https://github.com/firezone/firezone/issues/2311
# TODO: See https://github.com/firezone/firezone/issues/2309
./gradlew testReleaseUnitTest
- name: Upload app bundle
uses: actions/upload-artifact@v4

View File

@@ -0,0 +1,11 @@
/* Licensed under Apache 2.0 (C) 2024 Firezone, Inc. */
package dev.firezone.android.core
import org.junit.Assert.assertTrue
import org.junit.Test
class SampleTest {
@Test fun `test should pass`() {
assertTrue(true)
}
}