Skip to content

Commit 4b5beb3

Browse files
author
Christoph Läubrich
committed
Add github verification for SCR
This adds a github verification workflow for the scr component of felix dev.
1 parent 6bb228d commit 4b5beb3

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/maven.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Github CI Build
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
permissions: {}
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: Set up JDK 17
17+
uses: actions/setup-java@v3
18+
with:
19+
java-version: '17'
20+
distribution: 'temurin'
21+
cache: maven
22+
- name: Set up Maven
23+
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
24+
with:
25+
maven-version: 3.9.7
26+
- name: Felix SCR
27+
run: mvn -B -V -Dstyle.color=always --file scr/pom.xml clean verify
28+
- name: Upload Test Results
29+
if: always()
30+
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
31+
with:
32+
name: test-results
33+
if-no-files-found: warn
34+
path: |
35+
${{ github.workspace }}/**/target/surefire-reports/*.xml
36+
${{ github.workspace }}/**/target/failsafe-reports/*.xml

0 commit comments

Comments
 (0)