From da6d44fc334b1dc0caf8975d2f2452cdd88b9702 Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Wed, 18 Jun 2025 22:29:49 +0300 Subject: [PATCH] Run GitIgnoreTester separately from other tests (#3287) --- .github/workflows/buildandruntests.yml | 16 +++++++++++++++- _RebuildReleaseAndRunTestsForGitHubActions.bat | 3 --- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/buildandruntests.yml b/.github/workflows/buildandruntests.yml index 6360c695e..3bc2790fa 100644 --- a/.github/workflows/buildandruntests.yml +++ b/.github/workflows/buildandruntests.yml @@ -19,7 +19,6 @@ defaults: jobs: build: - name: Prepare and build on Windows Server VM runs-on: windows-latest steps: @@ -37,6 +36,21 @@ jobs: PABCNET_INC_BUILD: false PABCNET_VERBOSE: false + run-GitIgnoreTester: + name: Run GitIgnoreTester + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + + - name: Build project in Release-mode compile and run GitIgnoreTester + run: | + + dotnet build -c Release PascalABCNET.sln + + cd .\bin + pabcnetcclear GitIgnoreTester.pas + GitIgnoreTester.exe NoWait + #- name: Publish artifacts (5/5)... # uses: actions/upload-artifact@v2 # with: diff --git a/_RebuildReleaseAndRunTestsForGitHubActions.bat b/_RebuildReleaseAndRunTestsForGitHubActions.bat index e2b625417..3b5f6dfdf 100644 --- a/_RebuildReleaseAndRunTestsForGitHubActions.bat +++ b/_RebuildReleaseAndRunTestsForGitHubActions.bat @@ -38,9 +38,6 @@ TestRunner.exe 5 1 TestRunner.exe 6 1 @IF %ERRORLEVEL% NEQ 0 GOTO ERROR -pabcnetcclear GitIgnoreTester.pas -GitIgnoreTester.exe NoWait -@IF %ERRORLEVEL% NEQ 0 GOTO ERROR cd .. GOTO EXIT