diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ccd69640..7b080ed9 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -50,8 +50,10 @@ jobs: ${{ runner.os }}-test-${{ env.cache-name }}- ${{ runner.os }}-test- ${{ runner.os }}- - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@v1 + - run: sudo apt-get update && sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev + - run: julia -e 'using Pkg; Pkg.add("TestEnv")' + - run: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project -e 'using Pkg; Pkg.instantiate()' + - run: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project --code-coverage=user -e "using TestEnv; TestEnv.activate(); include(\"test/runtests.jl\")" - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v4 with: