summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2021-10-02 23:24:14 +0200
committerArne Schwabe <arne@rfc2549.org>2021-10-03 02:37:35 +0200
commit6cdfc97c52afcb90428126250ff6c218509ec7ac (patch)
tree7c4c98e9f2de882058d4efac94079b72cafa5f58 /.github
parent895f046e0301058a041d5c6c592ad7895cecdffb (diff)
Add unit tests runs to github actions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yaml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 65fa66e7..cb0eb658 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -6,7 +6,8 @@ jobs:
build:
strategy:
matrix:
- target: [assembleUiRelease, assembleSkeletonRelease]
+ target: [Ui, Skeleton]
+ name: "Release ${{ matrix.target }}"
runs-on: ubuntu-latest
steps:
- name: Use debug signing
@@ -16,4 +17,6 @@ jobs:
with:
submodules: true
- name: Build the app
- run: ./gradlew ${{ matrix.target }}
+ run: ./gradlew assemble${{ matrix.target }}Release
+ - name: Run Unit tests
+ run: ./gradlew test${{ matrix.target }}ReleaseUnitTest \ No newline at end of file