-
Notifications
You must be signed in to change notification settings - Fork 6
42 lines (42 loc) · 1.14 KB
/
IntegrationTests.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
37
38
39
40
41
42
name: IntegrationTest
on:
push:
branches: [main]
tags: [v*]
pull_request:
jobs:
test:
name: ${{ matrix.package }} - Julia ${{ matrix.version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [1]
package:
- DynamicHMC
- AdvancedHMC
- Turing
include:
- package: DynamicHMC
version: 'nightly'
- package: Turing
version: 'nightly'
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: x64
- 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@v2
with:
files: lcov.info