-
-
Notifications
You must be signed in to change notification settings - Fork 10
36 lines (36 loc) · 1.03 KB
/
ExtensionTest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: ExtensionTest
on:
push:
branches: [main]
tags: [v*]
pull_request:
jobs:
test:
name: ${{ matrix.extension }} - Julia ${{ matrix.julia-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
julia-version: [1.6, 1]
extension:
- ArviZMCMCChainsExt
- ArviZSampleChainsExt
- ArviZSampleChainsDynamicHMCExt
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}
arch: x64
- uses: julia-actions/julia-buildpkg@v1
- run: |
julia --code-coverage=user -e '
using Pkg
test_path = joinpath(pwd(), "test", "ext", "${{ matrix.extension }}")
Pkg.activate(test_path)
Pkg.develop(PackageSpec(path=pwd()))
include(joinpath(test_path, "runtests.jl"))'
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v4
with:
files: lcov.info