Skip to content

Commit

Permalink
Publish tests and APKs
Browse files Browse the repository at this point in the history
  • Loading branch information
penguinencounter committed Jun 10, 2024
1 parent df6a57c commit ce1632f
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,20 @@ jobs:
- name: Set +x
run: chmod a+x gradlew
- name: Build and test
run: ./gradlew clean assembleDebug test
run: ./gradlew clean assembleDebug test
- name: Collate tests
if: ${{ true }}
run: |
mkdir -p build/test_results
find . -regextype posix-extended -regex '.*reports/tests/([^/]+?)' -exec cp -r {} build/test_results/ \;
- name: Upload test results
if: ${{ true }}
uses: actions/upload-artifact@v4
with:
name: test-results
path: build/test_results
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: app-debug
path: TeamCode/build/outputs/apk/debug/TeamCode-debug.apk

0 comments on commit ce1632f

Please sign in to comment.