Yeah, that still need some fixing. After we moved all packages to a mono repo, it became harder to run the tests:
In the github action, you can see how to set things up:
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@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
- name: Install Julia dependencies
shell: julia --project=monorepo {0}
run: |
using Pkg;
# dev mono repo versions
pkg"dev . ./MakieCore ./GLMakie ./ReferenceTests"
- name: Run the tests
id: referencetests
continue-on-error: true
run: >
DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --color=yes --project=monorepo -e 'using Pkg; Pkg.test("GLMakie", coverage=true)'
&& echo "TESTS_SUCCESSFUL=true" >> $GITHUB_ENV
- name: Comment if there are missing refimages
if: matrix.version == '1' && steps.referencetests.outputs.n_missing_refimages != '0'
uses: mshick/add-pr-comment@v1
with:
message: |
## Missing reference images
Namely, clone the Makie repository and run:
pkg"dev . MakieCore GLMakie ReferenceTests; test Makie"