Skip to content

Commit

Permalink
temp tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MatKuhr committed Aug 16, 2023
1 parent 67e9f0d commit 0ea3031
Showing 1 changed file with 31 additions and 11 deletions.
42 changes: 31 additions & 11 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,23 +95,30 @@ jobs:
# run: |
# mvn $MVN_CLI_ARGS com.github.spotbugs:spotbugs-maven-plugin:spotbugs
# python .pipeline/scripts/print-spotbugs.py
- name: Archive Target Dirs
uses: actions/upload-artifact@v3
with:
name: target-dirs
path: |
./**/target/
./target/
retention-days: 1

# M2
- name: ZIP M2 SDK Directory
run: |
zip -r m2-sdk.zip ~/.m2/repository/com/sap/cloud/sdk
- name: Archive M2 SDK Directory
- name: Upload M2 SDK Directory
uses: actions/upload-artifact@v3
with:
name: m2-sdk
path: m2-sdk.zip
retention-days: 1

# Target
- name: ZIP Target Dirs
run: |
zip -r target.zip ./**/target/
- name: Upload Target Dirs
uses: actions/upload-artifact@v3
with:
name: target-dirs
path: target.zip
retention-days: 1


# - name: Test
# run: "mvn $MVN_CLI_ARGS test jacoco:report"
# - name: Publish Test Report
Expand Down Expand Up @@ -159,14 +166,27 @@ jobs:
with:
path: ~/.m2/repository
key: maven

# M2
- name: Download M2 SDK Directory
uses: actions/download-artifact@v3
with:
name: m2-sdk
path: m2-sdk.zip
path: .
- name: UNZIP M2 SDK Directory
run: |
zip m2-sdk.zip -d ~/.m2/repository/com/sap/cloud/sdk
unzip m2-sdk.zip -d ~/.m2/repository/com/sap/cloud/sdk
# Target
- name: Download Target Dirs
uses: actions/download-artifact@v3
with:
name: target-dirs
path: .
- name: UNZIP Target Dirs
run: |
unzip target.zip
# print maven repo cache here for debugging
- name: Show Maven Repository
run: |
Expand Down

0 comments on commit 0ea3031

Please sign in to comment.