From 6cdfc97c52afcb90428126250ff6c218509ec7ac Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Sat, 2 Oct 2021 23:24:14 +0200 Subject: Add unit tests runs to github actions --- .github/workflows/build.yaml | 7 +++++-- 1 file 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 -- cgit v1.2.3