mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
Only need to keep the tests output if there has been a failure
This commit is contained in:
parent
004ef6eaaf
commit
75a205ec69
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
|
@ -95,14 +95,14 @@ jobs:
|
|||
run: make test.units
|
||||
shell: bash
|
||||
|
||||
- if: ${{ always() }}
|
||||
- if: ${{ failure() }}
|
||||
name: Move test outputs to an arch specific location
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p tests/${{ matrix.os }}
|
||||
mv tests/*.out tests/${{ matrix.os }}
|
||||
|
||||
- if: ${{ always() }}
|
||||
- if: ${{ failure() }}
|
||||
name: Upload tests output
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
@ -166,14 +166,14 @@ jobs:
|
|||
run: make test.units
|
||||
shell: bash
|
||||
|
||||
- if: ${{ always() }}
|
||||
- if: ${{ failure() }}
|
||||
name: Move test outputs to an arch specific location
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p tests/${{ matrix.os }}
|
||||
mv tests/*.out tests/${{ matrix.os }}
|
||||
|
||||
- if: ${{ always() }}
|
||||
- if: ${{ failure() }}
|
||||
name: Upload tests output
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
@ -241,14 +241,14 @@ jobs:
|
|||
run: make test.units
|
||||
shell: bash
|
||||
|
||||
- if: ${{ always() }}
|
||||
- if: ${{ failure() }}
|
||||
name: Move test outputs to an arch specific location
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p tests/${{ matrix.os }}
|
||||
mv tests/*.out tests/${{ matrix.os }}
|
||||
|
||||
- if: ${{ always() }}
|
||||
- if: ${{ failure() }}
|
||||
name: Upload tests output
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue
Block a user