Skip to content

Commit

Permalink
Added unit test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mdnbah committed Jun 22, 2023
1 parent 2e86534 commit a0891a2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/artifactory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: JFrog
run-name: Testing JFrog Integration
on: [push, workflow_dispatch]
jobs:
Explore-GitHub-Actions:
Artifactory-Scan:
runs-on: self-hosted
steps:
- name: Setup JFrog CLI
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/unit-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Unit-Test
run-name: Run Unit Tests
on: [push, workflow_dispatch]
jobs:
Run-Unit-Tests:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots package

0 comments on commit a0891a2

Please sign in to comment.