From c6ca9b1ba3835694e6afe1126d4b8d69f43b7084 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 23 Aug 2025 13:29:13 +0000 Subject: [PATCH] Add GitHub Actions CI workflow for automated testing Co-authored-by: clayschaad <11883505+clayschaad@users.noreply.github.com> --- .github/workflows/ci.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..212ea35 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,36 @@ +name: CI + +on: + push: + branches: [ main, develop, "copilot/*" ] + pull_request: + branches: [ main, develop ] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Setup .NET 9.0 + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '9.0.x' + + - name: Restore dependencies + run: dotnet restore + + - name: Build + run: dotnet build --no-restore --configuration Release + + - name: Test + run: dotnet test --no-build --configuration Release --verbosity normal --collect:"XPlat Code Coverage" + + - name: Upload coverage reports + uses: codecov/codecov-action@v4 + if: success() + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: '**/coverage.cobertura.xml' + fail_ci_if_error: false \ No newline at end of file