Skip to content

Commit

Permalink
* Add build file
Browse files Browse the repository at this point in the history
  • Loading branch information
ag-ramachandran committed Jan 9, 2024
1 parent 4955dce commit caf1cea
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build Java
on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
jobs:
build:
runs-on: ubuntu-latest
name: Setup Java 8, build and run tests
steps:
- uses: actions/checkout@v2
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 8
cache: 'maven'
- name: Run the Maven verify phase
run: mvn clean verify -DkustoAadAppId=${{ secrets.APP_ID }} -DkustoAadAuthorityID=${{ secrets.TENANT_ID }} -DkustoAadAppSecret=${{ secrets.APP_SECRET }} -DkustoDatabase=${{ secrets.DATABASE }} -DkustoCluster=${{ secrets.CLUSTER }}
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
data/target/surefire-reports/*.xml
ingest/target/surefire-reports/*.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2

0 comments on commit caf1cea

Please sign in to comment.