File tree Expand file tree Collapse file tree 3 files changed +26
-403
lines changed
Expand file tree Collapse file tree 3 files changed +26
-403
lines changed Original file line number Diff line number Diff line change 1111 build :
1212 runs-on : ubuntu-latest
1313 steps :
14+
15+ - name : Collect Workflow Telemetry
16+ uses : runforesight/foresight-workflow-kit-action@v1
17+ with :
18+ api_key : ${{ secrets.FORESIGHT_API_KEY }}
19+
1420 - name : Checkout
1521 uses : actions/checkout@v2
1622 with :
@@ -50,16 +56,12 @@ jobs:
5056 - name : Run maven
5157 run : mvn clean install
5258
53- - name : Foresight Test Report Uploader
54- if : always()
55- uses : actions/upload-artifact@v2
56- with :
57- name : test-result-junit
58- path : target/
59-
60- - name : Foresight Coverage Report Uploader
59+ - name : Analyze Test and/or Coverage Results
6160 if : always()
62- uses : actions/upload-artifact@v2
61+ uses : thundra-io/foresight-test-kit-action@v1
6362 with :
64- name : coverage-artifact
65- path : target/site/jacoco/*.xml
63+ api_key : ${{ secrets.FORESIGHT_API_KEY }}
64+ test_framework : junit
65+ test_path : " ./*/target/surefire-reports/**"
66+ coverage_format : jacoco/xml
67+ coverage_path : " ./*/target/site/jacoco/*.xml"
Original file line number Diff line number Diff line change 3535
3636 git checkout ${{ env.BRANCH_NAME }}
3737
38+ git rm -f .github/workflows/*
39+ git rm -f README.md
40+
3841 git remote set-url origin "https://x-access-token:${{ env.GITHUB_TOKEN }}@github.com/${{ env.ORIGIN_PATH }}"
3942 git commit -am "Merge upstream" || true
4043 git push -f -u origin ${{ env.BRANCH_NAME }}
You can’t perform that action at this time.
0 commit comments