Skip to content

CompatHelper: bump compat for DynamicPPL in [weakdeps] to 0.30, (keep existing compat) #456

CompatHelper: bump compat for DynamicPPL in [weakdeps] to 0.30, (keep existing compat)

CompatHelper: bump compat for DynamicPPL in [weakdeps] to 0.30, (keep existing compat) #456

name: IntegrationTest
on:
push:
branches: [main]
tags: [v*]
pull_request:
jobs:
test:
name: ${{ matrix.downgrade && 'Downgrade / ' || '' }}${{ matrix.package }} - Julia ${{ matrix.version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [1]
package:
- DynamicHMC
- AdvancedHMC
- Turing
downgrade:
- true
- false
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: x64
- uses: julia-actions/[email protected]
with:
skip: LinearAlgebra,Pathfinder,Random,Statistics,Folds,Transducers
projects: ., test/integration/${{ matrix.package }}
if: ${{ matrix.downgrade }}
name: Downgrade dependencies to oldest supported versions
- uses: julia-actions/julia-buildpkg@v1
- run: |
julia --code-coverage=user -e '
using Pkg
test_path = joinpath(pwd(), "test", "integration", "${{ matrix.package }}")
Pkg.activate(test_path)
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
include(joinpath(test_path, "runtests.jl"))'
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v4
with:
files: lcov.info