Skip to content

Commit

Permalink
add github action for java-cf
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesward committed Jan 20, 2025
1 parent 3990abc commit dfc1085
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/clients.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ clients = new Mapping<String, Run> {
steps = GitHubAction.Go.testSteps(null, "go-stdlib/go.mod")
}

["java-cf"] = new {
steps = GitHubAction.Java.mavenTestSteps(null, "java-cf", null, null)
}

["java-loom"] = new {
steps = GitHubAction.Java.gradleTestSteps(null, "java-loom")
}
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/java-cf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Generated file. DO NOT EDIT.
'on':
push:
paths:
- java-cf/**
- .github/workflows/java-cf.yaml
pull_request:
paths:
- java-cf/**
- .github/workflows/java-cf.yaml
workflow_run:
workflows:
- scenario-server
types:
- completed
jobs:
test:
runs-on: ubuntu-24.04
if: ${{ github.event.workflow_run == null || github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '20'
cache: maven
- run: ./mvnw test
working-directory: java-cf
defaults:
run:
working-directory: java-cf

0 comments on commit dfc1085

Please sign in to comment.