-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Description
Rendering in Linux is different than Windows when it comes to pixel alignment (#340) and fonts (#1649, #1310, #1079) and it is helpful to have an easy way to inspect images rendered using Linux.
ScottPlot tests work on my machine in Linux using WSL, but it seems more useful to run these tests in a Docker container
I am able to build the project in docker, but the NUnit3 tests fail to run:
System.IO.FileNotFoundException:
Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Culture=neutral, PublicKeyToken=null'.
The system cannot find the file specified.
ScottPlot/dev/docker/Dockerfile
Line 1 in 8c81330
| FROM mcr.microsoft.com/dotnet/runtime:6.0 |
ScottPlot/dev/docker/docker-compose.yml
Lines 1 to 17 in 8c81330
| version: "2" | |
| services: | |
| scottplot-test: | |
| build: | |
| context: . | |
| dockerfile: ./Dockerfile | |
| volumes: | |
| - ../../:/app | |
| entrypoint: [ "/bin/sh", "-c" ] | |
| command: | |
| - | | |
| cd /app/src/tests/ | |
| dotnet add package Microsoft.Bcl.AsyncInterfaces | |
| dotnet restore | |
| dotnet build --no-restore | |
| dotnet test --no-restore --diag logs.txt | |
| cat logs.txt |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels