diff options
author | Kenneth Hsu <kennethhsu@gmail.com> | 2021-02-20 22:39:24 +0300 |
---|---|---|
committer | Kenneth Hsu <kennethhsu@gmail.com> | 2021-02-20 22:39:24 +0300 |
commit | 0c12c35d6ab5746475e1da5268b73224068653a8 (patch) | |
tree | 99def317dfece5bf53539f8e6b5895b0d37b92f6 /.github | |
parent | 253b89148898b379381f8d42c45d572adbca21cb (diff) |
Upload build artifacts before running tests.
This hopefully will make the artifacts available even if the tests fail.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/tests.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 36233deee..15e6efb1f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,6 +31,12 @@ jobs: nuget restore Duplicati.sln msbuild -p:Configuration=Release Duplicati.sln + - name: Upload Build Artifacts + uses: actions/upload-artifact@v2 + with: + name: build artifacts (${{ matrix.os }}) + path: Duplicati/UnitTest/bin/Release + - name: Run Unit Tests (Linux and macOS) if: matrix.os != 'windows-latest' run: | @@ -43,12 +49,6 @@ jobs: nuget install NUnit.Runners -Version 3.12.0 -OutputDirectory nunit nunit/NUnit.ConsoleRunner.3.12.0/tools/nunit3-console.exe Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll - - name: Upload Build Artifacts - uses: actions/upload-artifact@v2 - with: - name: build artifacts (${{ matrix.os }}) - path: Duplicati/UnitTest/bin/Release - ui_tests: name: UI tests runs-on: ubuntu-latest |