add test results publish
This commit is contained in:
parent
9865c7ee4d
commit
f390b74ab8
15
.github/workflows/github-actions.yml
vendored
15
.github/workflows/github-actions.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
- name: Build and install nlohmann json
|
- name: Build and install nlohmann json
|
||||||
run: |
|
run: |
|
||||||
cd nlohmann-json
|
cd nlohmann-json
|
||||||
cmake -S . -DJSON_VALIDATOR_BUILD_EXAMPLES=ON -DDJSON_VALIDATOR_BUILD_TESTS=ON -B build
|
cmake -S . -DJSON_VALIDATOR_BUILD_EXAMPLES=ON -DJSON_VALIDATOR_BUILD_TESTS=ON -B build
|
||||||
cmake --build build --target install -j$(nproc)
|
cmake --build build --target install -j$(nproc)
|
||||||
cd ..
|
cd ..
|
||||||
- name: Clone json-schema-validator
|
- name: Clone json-schema-validator
|
||||||
@ -45,9 +45,14 @@ jobs:
|
|||||||
- run: echo "🔎 Branch name is ${{ github.ref }} and repository is ${{ github.repository }}."
|
- run: echo "🔎 Branch name is ${{ github.ref }} and repository is ${{ github.repository }}."
|
||||||
- name: Clone json-schema-validator
|
- name: Clone json-schema-validator
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: cmake
|
- name: Cmake
|
||||||
run: cmake -S . -DJSON_VALIDATOR_BUILD_EXAMPLES=ON -DDJSON_VALIDATOR_BUILD_TESTS=ON -B build
|
run: cmake -S . -DJSON_VALIDATOR_BUILD_EXAMPLES=ON -DJSON_VALIDATOR_BUILD_TESTS=ON -B build
|
||||||
- name: build
|
- name: Build
|
||||||
run: cmake --build build --target all -j$(nproc)
|
run: cmake --build build --target all -j$(nproc)
|
||||||
- name: test
|
- name: Test
|
||||||
run: cd build && ctest
|
run: cd build && ctest
|
||||||
|
- name: Publish Test
|
||||||
|
uses: EnricoMi/publish-unit-test-result-action@v1
|
||||||
|
if: always()
|
||||||
|
with:
|
||||||
|
files: build/Testing/**/Test.xml
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user