-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
110 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
changelog: | ||
exclude: | ||
labels: | ||
- ignore for release | ||
categories: | ||
- title: Breaking Changes 🚨 | ||
labels: | ||
- breaking change | ||
- title: Exciting New Features 🎉 | ||
labels: | ||
- new feature | ||
- title: Improvements 🌱 | ||
labels: | ||
- improvement | ||
- title: Bug Fixes 🛠 | ||
labels: | ||
- bug | ||
- title: Other Changes 📚 | ||
labels: | ||
- "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Remove Label | ||
on: | ||
pull_request_target: | ||
types: [labeled] | ||
# Ensures that only the latest commit is running for each PR at a time. | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
Remove-Label: | ||
if: contains(github.event.pull_request.labels.*.name, 'safe to test') | ||
name: Remove label | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Remove 'safe to test' | ||
uses: actions-ecosystem/action-remove-labels@v1 | ||
with: | ||
labels: "safe to test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Tests | ||
on: | ||
push: | ||
branches: | ||
- '**' | ||
tags-ignore: | ||
- '**' | ||
# Triggers the workflow on labeled PRs only. | ||
pull_request_target: | ||
types: [ labeled ] | ||
# Ensures that only the latest commit is running for each PR at a time. | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
Tests: | ||
if: contains(github.event.pull_request.labels.*.name, 'safe to test') || github.event_name == 'push' | ||
name: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ ubuntu, windows, macOS ] | ||
include: | ||
- os: windows | ||
gradlewSuffix: .bat | ||
runs-on: ${{ matrix.os }}-latest | ||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.20.x | ||
cache: false | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- name: Setup Artifactory | ||
run: | | ||
go install github.com/jfrog/jfrog-testing-infra/local-rt-setup@latest | ||
~/go/bin/local-rt-setup | ||
env: | ||
RTLIC: ${{secrets.RTLIC}} | ||
GOPROXY: direct | ||
|
||
- name: Install Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: "8" | ||
distribution: "temurin" | ||
|
||
- name: Run tests | ||
run: ./gradlew${{ matrix.gradlewSuffix }} clean test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters