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
|
run: make test.units
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- if: ${{ always() }}
|
- if: ${{ failure() }}
|
||||||
name: Move test outputs to an arch specific location
|
name: Move test outputs to an arch specific location
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
mkdir -p tests/${{ matrix.os }}
|
mkdir -p tests/${{ matrix.os }}
|
||||||
mv tests/*.out tests/${{ matrix.os }}
|
mv tests/*.out tests/${{ matrix.os }}
|
||||||
|
|
||||||
- if: ${{ always() }}
|
- if: ${{ failure() }}
|
||||||
name: Upload tests output
|
name: Upload tests output
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
@ -166,14 +166,14 @@ jobs:
|
||||||
run: make test.units
|
run: make test.units
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- if: ${{ always() }}
|
- if: ${{ failure() }}
|
||||||
name: Move test outputs to an arch specific location
|
name: Move test outputs to an arch specific location
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
mkdir -p tests/${{ matrix.os }}
|
mkdir -p tests/${{ matrix.os }}
|
||||||
mv tests/*.out tests/${{ matrix.os }}
|
mv tests/*.out tests/${{ matrix.os }}
|
||||||
|
|
||||||
- if: ${{ always() }}
|
- if: ${{ failure() }}
|
||||||
name: Upload tests output
|
name: Upload tests output
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
@ -241,14 +241,14 @@ jobs:
|
||||||
run: make test.units
|
run: make test.units
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- if: ${{ always() }}
|
- if: ${{ failure() }}
|
||||||
name: Move test outputs to an arch specific location
|
name: Move test outputs to an arch specific location
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
mkdir -p tests/${{ matrix.os }}
|
mkdir -p tests/${{ matrix.os }}
|
||||||
mv tests/*.out tests/${{ matrix.os }}
|
mv tests/*.out tests/${{ matrix.os }}
|
||||||
|
|
||||||
- if: ${{ always() }}
|
- if: ${{ failure() }}
|
||||||
name: Upload tests output
|
name: Upload tests output
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user