Skip to content

Commit

Permalink
Remove debug build and test from CI (#3042)
Browse files Browse the repository at this point in the history
* removed debug build and run debug test suite steps from ci.yml; there should be no implementation differences between debug and release, and we only publish release

* changed coverage check to use Release config
  • Loading branch information
jar-stripe authored Jan 6, 2025
1 parent a18e87f commit b7fb5eb
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,13 @@ jobs:
- name: Build Release
run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true

- name: Build Debug
run: dotnet build src -c Debug

- uses: stripe/openapi/actions/stripe-mock@master

- name: Run test suite
run: make ci-test

- name: Run test suite (Debug)
run: make ci-test-debug

- name: Collect coverage
run: dotnet test --no-build -c Debug -f netcoreapp3.1 src/StripeTests/StripeTests.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:ExcludeByAttribute=CompilerGenerated
run: dotnet test --no-build -c Release -f netcoreapp3.1 src/StripeTests/StripeTests.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:ExcludeByAttribute=CompilerGenerated

- name: Get branch name (merge)
if: github.event_name != 'pull_request'
Expand Down

0 comments on commit b7fb5eb

Please sign in to comment.