Skip to content

Commit 78d23c5

Browse files
committed
USE SIXLABORS_TESTING instead of CI Env var
1 parent ec44de2 commit 78d23c5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,14 @@ jobs:
7979
- name: Build
8080
shell: pwsh
8181
run: ./ci-build.ps1 "${{matrix.options.framework}}"
82+
env:
83+
SIXLABORS_TESTING: True
8284

8385
- name: Test
8486
shell: pwsh
8587
run: ./ci-test.ps1 "${{matrix.options.os}}" "${{matrix.options.framework}}" "${{matrix.options.runtime}}" "${{matrix.options.codecov}}"
8688
env:
87-
CI: True
89+
SIXLABORS_TESTING: True
8890
XUNIT_PATH: .\tests\ImageSharp.Tests # Required for xunit
8991

9092
- name: Export Failed Output

src/ImageSharp/ImageSharp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</PropertyGroup>
1616

1717
<Choose>
18-
<When Condition="$(CI) == true">
18+
<When Condition="$(SIXLABORS_TESTING) == true">
1919
<PropertyGroup>
2020
<TargetFrameworks>net5.0;netcoreapp3.1;netcoreapp2.1;netstandard2.1;netstandard2.0;netstandard1.3;net472</TargetFrameworks>
2121
</PropertyGroup>

0 commit comments

Comments
 (0)