From b8b689a4088d6a3302a58402c39fc51cbb37b4b1 Mon Sep 17 00:00:00 2001 From: ZaqueuCavalcante Date: Mon, 14 Oct 2024 20:53:12 -0300 Subject: [PATCH 1/6] Commit --- .github/workflows/pr.tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pr.tests.yml b/.github/workflows/pr.tests.yml index 385ce513..8c892d0b 100644 --- a/.github/workflows/pr.tests.yml +++ b/.github/workflows/pr.tests.yml @@ -99,3 +99,10 @@ jobs: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 + - name: Deploy Page + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ github.token }} + publish_dir: reports/test-pages-00 + publish_branch: gh-pages + keep_files: true From 33a1ae5a4725926df2c867327142cd7d1d213356 Mon Sep 17 00:00:00 2001 From: ZaqueuCavalcante Date: Mon, 14 Oct 2024 21:30:08 -0300 Subject: [PATCH 2/6] Try deploy to specific folder --- .github/workflows/pr.tests.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr.tests.yml b/.github/workflows/pr.tests.yml index 8c892d0b..d3cc2598 100644 --- a/.github/workflows/pr.tests.yml +++ b/.github/workflows/pr.tests.yml @@ -41,7 +41,7 @@ jobs: run: dotnet build --configuration Release --no-restore - name: Test - run: dotnet test --configuration Release --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage + run: dotnet test --configuration Release --filter "FullyQualifiedName~UnitTests" --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage - name: Code Coverage Report uses: irongut/CodeCoverageSummary@v1.3.0 @@ -99,10 +99,8 @@ jobs: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 - - name: Deploy Page - uses: peaceiris/actions-gh-pages@v3 + - name: Build and Deploy + uses: JamesIves/github-pages-deploy-action@v4.4.3 with: - github_token: ${{ github.token }} - publish_dir: reports/test-pages-00 - publish_branch: gh-pages - keep_files: true + branch: gh-pages + folder: tests/test-pages-00 From 9642f5a22043065a5e75e3414ad1c2b7de34cd0c Mon Sep 17 00:00:00 2001 From: ZaqueuCavalcante Date: Mon, 14 Oct 2024 21:40:32 -0300 Subject: [PATCH 3/6] Rename --- .github/workflows/pr.tests.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/pr.tests.yml b/.github/workflows/pr.tests.yml index d3cc2598..54d5de9d 100644 --- a/.github/workflows/pr.tests.yml +++ b/.github/workflows/pr.tests.yml @@ -1,4 +1,4 @@ -name: Pull Request Tests +name: PR Tests on: pull_request: @@ -99,8 +99,3 @@ jobs: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 - - name: Build and Deploy - uses: JamesIves/github-pages-deploy-action@v4.4.3 - with: - branch: gh-pages - folder: tests/test-pages-00 From 1cade73dbdc6975a41ab36406e849da7636b52fa Mon Sep 17 00:00:00 2001 From: ZaqueuCavalcante Date: Mon, 14 Oct 2024 21:40:45 -0300 Subject: [PATCH 4/6] Drop filter --- .github/workflows/pr.tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.tests.yml b/.github/workflows/pr.tests.yml index 54d5de9d..6efdfb9e 100644 --- a/.github/workflows/pr.tests.yml +++ b/.github/workflows/pr.tests.yml @@ -41,7 +41,7 @@ jobs: run: dotnet build --configuration Release --no-restore - name: Test - run: dotnet test --configuration Release --filter "FullyQualifiedName~UnitTests" --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage + run: dotnet test --configuration Release --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage - name: Code Coverage Report uses: irongut/CodeCoverageSummary@v1.3.0 From 9add050510909210c1b8e57c3af22f3451ea8024 Mon Sep 17 00:00:00 2001 From: ZaqueuCavalcante Date: Mon, 14 Oct 2024 21:48:15 -0300 Subject: [PATCH 5/6] Test with link --- .github/workflows/pr.tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr.tests.yml b/.github/workflows/pr.tests.yml index 6efdfb9e..d1097a97 100644 --- a/.github/workflows/pr.tests.yml +++ b/.github/workflows/pr.tests.yml @@ -58,6 +58,8 @@ jobs: with: recreate: true path: code-coverage-results.md + message: | + Full Tests Report -> https://zaqueucavalcante.github.io/syki - name: Write to Job Summary run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY From e538b4dd047b79b6950aaf7184723d2b29d58ded Mon Sep 17 00:00:00 2001 From: ZaqueuCavalcante Date: Mon, 14 Oct 2024 22:26:49 -0300 Subject: [PATCH 6/6] Fix --- .github/workflows/pr.tests.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/pr.tests.yml b/.github/workflows/pr.tests.yml index d1097a97..6efdfb9e 100644 --- a/.github/workflows/pr.tests.yml +++ b/.github/workflows/pr.tests.yml @@ -58,8 +58,6 @@ jobs: with: recreate: true path: code-coverage-results.md - message: | - Full Tests Report -> https://zaqueucavalcante.github.io/syki - name: Write to Job Summary run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY