From 76d99f483004930d0b08fcfaae23783caf0b8e7f Mon Sep 17 00:00:00 2001 From: David Brownman Date: Wed, 8 Jan 2025 13:59:37 -0800 Subject: [PATCH] removed groups from justfile and removed comment from CI --- .github/workflows/ci.yml | 4 ---- justfile | 11 ++++------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46d3d6929..8918de61b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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" diff --git a/justfile b/justfile index 413971269..364a2b62a 100644 --- a/justfile +++ b/justfile @@ -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}} @@ -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