Skip to content

Commit

Permalink
removed groups from justfile and removed comment from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
xavdid-stripe committed Jan 8, 2025
1 parent 0d320df commit 76d99f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ jobs:
- name: Run test suite
run: just ci-test

# commented out because it's slow, but it's here if we want it
# - name: Verify formatting
# run: just format-check

- name: Pack
run: dotnet pack src/Stripe.net -c Release --no-build --output nuget
- name: "Upload Artifact"
Expand Down
11 changes: 4 additions & 7 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,19 @@ import? '../sdk-codegen/justfile'
_default:
just --list --unsorted

# base test command
# base test command that other, more specific commands use
[no-quiet]
[no-exit-message]
_test no_build framework config:
dotnet test {{no_build}} {{framework}} src/StripeTests/StripeTests.csproj -c {{config}}

# run tests in debug mode
[group('useful')]
# ⭐ run tests in debug mode
test: (_test "" "-f net8.0" "Debug")

# skip build and don't specify the dotnet framework
[group('CI')]
ci-test: (_test "--no-build" "" "Release")

# format files as needed
[group('useful')]
# ⭐ format all files
format *options:
TargetFramework=net5.0 dotnet format src/Stripe.net/Stripe.net.csproj --severity warn {{options}}

Expand All @@ -28,7 +26,6 @@ format *options:
alias codegen-format := format

# verify, but don't modify, the project's formatting
[group('CI')]
format-check: (format "--verify-no-changes")

# called by tooling
Expand Down

0 comments on commit 76d99f4

Please sign in to comment.