My tests pass for Julia 1.10: Adapt to new KiteModels, using new conventions · aenarete/KiteControllers.jl@dd84a3f · GitHub and fail for Julia 1.11:
I do not really understand why. This might be related to my use of PyPlot, which works for Julia 1.10 but not for Julia 1.11.
I tried to convince Julia to use the pre-installed version of Python and Matplotlib using the step:
- name: Install matplotlib
run: if [ "$RUNNER_OS" = "Linux" ]; then sudo apt-get install -y python3-matplotlib; export PYTHON=$PYTHON_PATH; fi
shell: bash
but perhaps that is not compatible with:
steps:
- name: Install matplotlib
run: if [ "$RUNNER_OS" = "Linux" ]; then sudo apt-get install -y python3-matplotlib; export PYTHON=$PYTHON_PATH; fi
shell: bash
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2
- uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v4
Any idea?
Locally the tests pass, both for Julia 1.10 and Julia 1.11.