From ce97fcf335fc4528a77852becdc1f300fabab0ec Mon Sep 17 00:00:00 2001 From: Serge Camille Date: Sun, 13 Sep 2020 10:42:19 +0200 Subject: [PATCH] Separate restore and test steps to better see execution times. Restore could be cached, but it looks quite complicated to pull off. --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ad8397a..e94e324 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,5 +43,8 @@ jobs: with: dotnet-version: '3.1.x' # SDK Version to use; x will use the latest version of the 3.1 channel + - name: Restore + run: dotnet restore S7.Net.UnitTest + - name: Test - run: dotnet test --verbosity normal --logger GitHubActions --framework ${{ matrix.test-framework }} \ No newline at end of file + run: dotnet test --no-restore --verbosity normal --logger GitHubActions --framework ${{ matrix.test-framework }} \ No newline at end of file