Skip to content

Test coverage for AbstractCoordinatePoint and AbstractVector #597

Test coverage for AbstractCoordinatePoint and AbstractVector

Test coverage for AbstractCoordinatePoint and AbstractVector #597

Workflow file for this run

name: Downgrade
env:
JULIA_NUM_THREADS: 4
on:
pull_request:
branches:
- main
- dev
paths-ignore:
- 'docs/**'
push:
branches:
- main
- dev
paths-ignore:
- 'docs/**'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
version: ['1.10', '1.12']
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
- name: Add LegendJuliaRegistry
run: julia -e 'using Pkg; Pkg.Registry.add("General"); Pkg.Registry.add(Pkg.RegistrySpec(url = "https://github.com/legend-exp/LegendJuliaRegistry"))'
shell: bash
- name: Downgrade NearestNeighbors # Temporary fix: this is needed to work with older versions of StaticArrays
run: julia --project=. -e 'using Pkg; Pkg.add(name = "NearestNeighbors", version = "0.4.13"); Pkg.compat("NearestNeighbors", "0.4.13")'
shell: bash
if: matrix.version == '1.10'
- uses: julia-actions/julia-downgrade-compat@v2
with:
julia_version: ${{ matrix.version }}
mode: deps
skip: Pkg,TOML
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
with:
coverage: false