File tree Expand file tree Collapse file tree
tests/Blazing.Json.Queryable.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 branches :
66 - master
77
8+ concurrency :
9+ group : ${{ github.workflow }}-${{ github.ref }}
10+ cancel-in-progress : false
11+
812jobs :
913 release :
1014 name : Build, Test & Publish to NuGet
5357 echo "exists=false" >> $GITHUB_OUTPUT
5458 fi
5559
60+ - name : Fail if this version was already released
61+ if : steps.tag_check.outputs.exists == 'true'
62+ run : |
63+ echo "::error::Release tag ${{ steps.version.outputs.tag }} already exists. Bump the project version before pushing to master."
64+ exit 1
65+
5666 - name : Pack NuGet package
5767 if : steps.tag_check.outputs.exists == 'false'
5868 run : |
Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ namespace Blazing.Json.Queryable.Tests;
77/// </summary>
88/// <remarks>
99/// <para>
10- /// <see cref="DisableParallelization"/> is set to <see langword="true"/> so that when any
10+ /// <see cref="Xunit.CollectionDefinitionAttribute. DisableParallelization"/> is set to <see langword="true"/> so that when any
1111/// test in this collection executes, no other test collection runs concurrently.
1212/// </para>
1313/// <para>
1414/// This is required because <see cref="Blazing.Json.Queryable.Implementations.SpanPropertyAccessor"/>
15- /// uses a process-wide static <see cref="System.Collections.Concurrent.ConcurrentDictionary{TKey, TValue}"/>
15+ /// uses a process-wide static <see cref="System.Collections.Concurrent.ConcurrentDictionary{TKey,TValue}"/>
1616/// cache. Tests in this collection call <c>ClearCache()</c> and assert on <c>CacheCount</c> —
1717/// assertions that are only valid when no other test is concurrently populating the cache.
1818/// </para>
You can’t perform that action at this time.
0 commit comments