This is an automated email from the ASF dual-hosted git repository.
stbischof pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-dev.git
The following commit(s) were added to refs/heads/master by this push:
new 8fe60f3519 Add github verification for SCR
8fe60f3519 is described below
commit 8fe60f3519d563e2b4ea37221d3c1f2ca7d92e2d
Author: Christoph Läubrich <[email protected]>
AuthorDate: Fri May 17 06:22:00 2024 +0200
Add github verification for SCR
This adds a github verification workflow for the scr component of felix
dev.
---
.github/workflows/maven.yml | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
new file mode 100644
index 0000000000..e99b53a383
--- /dev/null
+++ b/.github/workflows/maven.yml
@@ -0,0 +1,36 @@
+name: Github CI Build
+
+on:
+ push:
+ branches: [ "master" ]
+ pull_request:
+ branches: [ "master" ]
+
+permissions: {}
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - name: Set up JDK 17
+ uses: actions/setup-java@v3
+ with:
+ java-version: '17'
+ distribution: 'temurin'
+ cache: maven
+ - name: Set up Maven
+ uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
+ with:
+ maven-version: 3.9.7
+ - name: Felix SCR
+ run: mvn -B -V -Dstyle.color=always --file scr/pom.xml clean verify
+ - name: Upload Test Results
+ if: always()
+ uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 #
v4.3.3
+ with:
+ name: test-results
+ if-no-files-found: warn
+ path: |
+ ${{ github.workspace }}/**/target/surefire-reports/*.xml
+ ${{ github.workspace }}/**/target/failsafe-reports/*.xml