Skip to content

Commit b986478

Browse files
authored
Release/4.0.0 beta2 (#19)
# Changelog for Version 4.0.0-beta2 ## What's Changed ### Fixes: Improve coroutine safety and lifecycle integration - 🔒 Enhance code security by using safer patterns - 🛠 Fix blocking coroutine execution within lifecycle callbacks
1 parent 5361d94 commit b986478

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,23 @@ jobs:
2525
- name: Build with Gradle
2626
run: ./gradlew :flagship:assembleDebug
2727
- name: Unit tests
28-
run: bash ./gradlew flagship:testJacocoUnitTestCoverage -i --stacktrace
29-
- name: Get version
30-
run: |
31-
echo "FLAGSHIP_VERSION_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
32-
- name: Generate report
33-
run: bash ./gradlew flagship:createJacocoUnitTestCoverageReport
28+
id: unit_tests
29+
continue-on-error: true
30+
run: bash ./gradlew flagship:jacocoDebugCodeCoverage -i --stacktrace
31+
- name: Upload Test Report
32+
if: always()
33+
uses: actions/upload-artifact@v4
34+
with:
35+
name: test-report
36+
path: flagship/build/reports/tests/testDebugUnitTest/
37+
- name: Stop if tests failed
38+
if: steps.unit_tests.conclusion == 'failure'
39+
run: exit 1
3440
- name: Upload coverage to codecov
3541
uses: codecov/codecov-action@v5
3642
with:
3743
token: ${{ secrets.CODECOV_TOKEN }}
38-
files: flagship/build/reports/coverage/test/jacoco/report.xml
44+
files: flagship/build/reports/jacoco/jacocoDebugCodeCoverage/jacocoDebugCodeCoverage.xml
3945
- name: Build and Publish
4046
env:
4147
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGINMEMORYKEYID }}

0 commit comments

Comments
 (0)