This commit is contained in:
@@ -44,6 +44,12 @@ jobs:
|
|||||||
tag: "${{ github.run_number }}_${{ github.run_id }}" # Optional tag or build version.
|
tag: "${{ github.run_number }}_${{ github.run_id }}" # Optional tag or build version.
|
||||||
customSettings: "" # Optional custom settings (separated by semicolon). See: https://github.com/danielpalme/ReportGenerator/wiki/Settings.
|
customSettings: "" # Optional custom settings (separated by semicolon). See: https://github.com/danielpalme/ReportGenerator/wiki/Settings.
|
||||||
toolpath: "reportgeneratortool" # Default directory for installing the dotnet tool.
|
toolpath: "reportgeneratortool" # Default directory for installing the dotnet tool.
|
||||||
|
- name: Upload coverage report (debug)
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: coverage-report
|
||||||
|
path: coverage-report/
|
||||||
|
if-no-files-found: error
|
||||||
- name: Upload coverage via SSH
|
- name: Upload coverage via SSH
|
||||||
uses: appleboy/scp-action@v1
|
uses: appleboy/scp-action@v1
|
||||||
with:
|
with:
|
||||||
@@ -52,7 +58,7 @@ jobs:
|
|||||||
password: "password"
|
password: "password"
|
||||||
port: 2222
|
port: 2222
|
||||||
source: "coverage-report/*"
|
source: "coverage-report/*"
|
||||||
target: "/config/${{ github.event.pull_request.number }}"
|
target: "/config/test"
|
||||||
- name: Upload Combined Coverage XML
|
- name: Upload Combined Coverage XML
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@@ -78,6 +84,7 @@ jobs:
|
|||||||
REPO_OWNER: mcmuzzle
|
REPO_OWNER: mcmuzzle
|
||||||
REPO_NAME: LittleTown
|
REPO_NAME: LittleTown
|
||||||
PR_NUMBER: ${{ github.event.pull_request.number }}
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
|
|
||||||
run: |
|
run: |
|
||||||
COMMENT_CONTENT=$(cat code-coverage-results.md)
|
COMMENT_CONTENT=$(cat code-coverage-results.md)
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
|
|||||||
Reference in New Issue
Block a user