Browse Source

Ensure remoteexecutor tests run

js/color-alpha-handling
James Jackson-South 5 years ago
parent
commit
86198504ee
  1. 32
      .github/workflows/build-and-test.yml
  2. 8
      tests/ImageSharp.Tests/TestUtilities/Tests/FeatureTestRunnerTests.cs

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

@ -17,23 +17,23 @@ jobs:
- os: ubuntu-latest
framework: netcoreapp3.1
runtime: -x64
codecov: true
- os: windows-latest
framework: netcoreapp3.1
runtime: -x64
codecov: false
- os: windows-latest
framework: netcoreapp2.1
runtime: -x64
codecov: false
- os: windows-latest
framework: net472
runtime: -x64
codecov: false
- os: windows-latest
framework: net472
runtime: -x86
codecov: false
# - os: windows-latest
# framework: netcoreapp3.1
# runtime: -x64
# codecov: false
# - os: windows-latest
# framework: netcoreapp2.1
# runtime: -x64
# codecov: false
# - os: windows-latest
# framework: net472
# runtime: -x64
# codecov: false
# - os: windows-latest
# framework: net472
# runtime: -x86
# codecov: false
runs-on: ${{matrix.options.os}}
if: "!contains(github.event.head_commit.message, '[skip ci]')"

8
tests/ImageSharp.Tests/TestUtilities/Tests/FeatureTestRunnerTests.cs

@ -23,6 +23,14 @@ namespace SixLabors.ImageSharp.Tests.TestUtilities.Tests
{ HwIntrinsics.DisableSSE42 | HwIntrinsics.DisableAVX, new string[] { "EnableSSE42", "EnableAVX" } }
};
[Fact]
public void TempAssertThrow()
{
FeatureTestRunner.RunWithHwIntrinsicsFeature(
() => Assert.True(false),
HwIntrinsics.DisableAVX);
}
[Theory]
[MemberData(nameof(Intrinsics))]
public void ToFeatureCollectionReturnsExpectedResult(HwIntrinsics expectedItrinsics, string[] expectedValues)

Loading…
Cancel
Save