Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include Gradle scan #376

Merged
merged 2 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.PUBLISH_PAT }}
run: |
./gradlew build jacocoTestReport
./gradlew build jacocoTestReport --scan
- name: Generate Codecov Report
uses: codecov/codecov-action@v1
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}
packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}
run: |
./gradlew release -Prelease.useAutomaticVersion=true
./gradlew release -Prelease.useAutomaticVersion=true --scan
- name: Create release
id: create_release
uses: actions/create-release@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean build jacocoTestReport --info --stacktrace -x test
run: ./gradlew clean build jacocoTestReport --info --stacktrace -x test --scan
env:
TEST_MODE_ACTIVE: true
- name: Generate Codecov Report
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean build jacocoTestReport --info --stacktrace -x test
run: ./gradlew clean build jacocoTestReport --info --stacktrace -x test --scan
env:
TEST_MODE_ACTIVE: true

Expand All @@ -46,6 +46,6 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean build jacocoTestReport --info --stacktrace -x test
run: ./gradlew clean build jacocoTestReport --info --stacktrace -x test --scan
env:
TEST_MODE_ACTIVE: true
11 changes: 11 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
plugins {
id "com.gradle.enterprise" version "3.13.2"
}

rootProject.name = 'ballerina-command'

gradleEnterprise {
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
}
}
Loading