diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index d192761a..c576c12d 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -263,6 +263,7 @@ jobs: if: runner.os == 'Windows' && (success() || failure()) run: docker build -t console -f src/FrameworkTests/AotConsole/Dockerfiles/windows-aot . && docker run --rm -t console - name: docker system prune + if: success() || failure() run: docker system prune -a -f - name: unittests (linux) if: runner.os == 'Linux' && (success() || failure()) @@ -274,7 +275,7 @@ jobs: if: success() || failure() uses: actions/upload-artifact@main with: - name: Test results (docker ${{ matrix.os }}) + name: Test results (${{ matrix.os }}; docker) path: ./**/*.trx if-no-files-found: error retention-days: 1 diff --git a/src/FrameworkTests/AotConsole/Program.cs b/src/FrameworkTests/AotConsole/Program.cs index 06e8e72b..43ef85a7 100644 --- a/src/FrameworkTests/AotConsole/Program.cs +++ b/src/FrameworkTests/AotConsole/Program.cs @@ -7,7 +7,6 @@ public class Program public static void Main() { - throw new NotImplementedException(); Directory.SetCurrentDirectory(Path.GetDirectoryName(AppContext.BaseDirectory)!); using var input = new FileStream("SocialPreview.pdf", FileMode.Open, FileAccess.Read); using var bitmap = PDFtoImage.Conversion.ToImage(input);