Browse Source

Cleanup

pull/3022/head
James Jackson-South 1 year ago
parent
commit
143c3bb4f2
  1. 6
      .github/workflows/build-and-test.yml
  2. 6
      tests/ImageSharp.Tests/Formats/Jpg/JpegDecoderTests.cs

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

@ -62,8 +62,6 @@ jobs:
needs: WarmLFS
strategy:
matrix:
isARM:
- ${{ contains(github.event.pull_request.labels.*.name, 'arch:arm32') || contains(github.event.pull_request.labels.*.name, 'arch:arm64') }}
options:
- os: ubuntu-latest
framework: net9.0
@ -121,10 +119,6 @@ jobs:
sdk: 8.0.x
runtime: -x64
codecov: false
exclude:
- isARM: false
options:
os: buildjet-4vcpu-ubuntu-2204-arm
runs-on: ${{ matrix.options.os }}

6
tests/ImageSharp.Tests/Formats/Jpg/JpegDecoderTests.cs

@ -432,9 +432,5 @@ public partial class JpegDecoderTests
[Theory]
[InlineData(TestImages.Jpeg.Issues.Issue2948)]
public void Issue2948_No_SOS_Identify_Throws_InvalidImageContentException(string imagePath)
=> Assert.Throws<InvalidImageContentException>(() =>
{
TestFile testFile = TestFile.Create(imagePath);
ImageInfo imageInfo = Image.Identify(testFile.Bytes);
});
=> Assert.Throws<InvalidImageContentException>(() => _ = Image.Identify(TestFile.Create(imagePath).Bytes));
}

Loading…
Cancel
Save