Skip to content

Commit 5ecbcc0

Browse files
Explicitly set the variable
1 parent 43bc1d9 commit 5ecbcc0

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ jobs:
144144
run: ./ci-test.ps1 "${{matrix.options.os}}" "${{matrix.options.framework}}" "${{matrix.options.runtime}}" "${{matrix.options.codecov}}"
145145
env:
146146
SIXLABORS_TESTING: True
147+
CI: True # This should be true but doesn't seem to be.
147148
XUNIT_PATH: .\tests\ImageSharp.Web.Tests # Required for xunit
148149

149150
- name: Codecov Update

tests/ImageSharp.Web.Benchmarks/ImageSharp.Web.Benchmarks.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212

1313
<ItemGroup>
1414
<PackageReference Include="BenchmarkDotNet"/>
15+
</ItemGroup>
16+
17+
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1'">
1518
<PackageReference Include="Microsoft.AspNetCore.Http"/>
1619
</ItemGroup>
1720

tests/ImageSharp.Web.Tests/TestUtilities/TestEnvironment.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright (c) Six Labors.
22
// Licensed under the Apache License, Version 2.0.
3-
3+
#if !ENV_CI
44
using System;
5-
5+
#endif
66
namespace SixLabors.ImageSharp.Web.Tests.TestUtilities
77
{
88
internal static class TestEnvironment

0 commit comments

Comments
 (0)