Skip to content

Commit

Permalink
Configure GitHub Actions for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgDangl committed Mar 29, 2024
1 parent 073bfc3 commit 26b6aac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Coverage
run: ./build.ps1 Coverage -Configuration Debug
- name: Archive Coverage Report
uses: actions/upload-artifact@v2
- name: Tests
run: ./build.ps1 Tests -Configuration Debug
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: output/cobertura_coverage.xml
name: Test Results (${{ runner.os }})
path: output/**/*_testresults.xml
- name: Push+PublishGitHubRelease
run: ./build.ps1 Push+PublishGitHubRelease
2 changes: 1 addition & 1 deletion build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public static class FileVersionProvider
.EnableNoBuild());
});

Target Test => _ => _
Target Tests => _ => _
.DependsOn(Compile)
.Executes(() =>
{
Expand Down

0 comments on commit 26b6aac

Please sign in to comment.