File tree Expand file tree Collapse file tree 6 files changed +63
-35
lines changed Expand file tree Collapse file tree 6 files changed +63
-35
lines changed Original file line number Diff line number Diff line change 1- name : Unit Tests
2-
3- # Controls when the action will run. Triggers the workflow on push or pull request
4- # events but only for the master branch
5- on :
6- pull_request :
1+ name : Unit Tests
2+ on :
73 push :
4+ branches : [master]
5+ tags : ["*"]
6+ pull_request :
87 workflow_dispatch :
9-
8+ permissions :
9+ actions : write
10+ contents : read
1011env :
12+ DATADEPS_ALWAYS_ACCEPT : 1
1113 JIVE_PROCS : 1
12-
1314jobs :
14- build :
15- runs-on : ubuntu-20.04
16-
15+ test :
16+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
17+ runs-on : ${{ matrix.os }}
18+ strategy :
19+ fail-fast : false
20+ matrix :
21+ version :
22+ - ' 1.6'
23+ - ' 1'
24+ - ' nightly'
25+ os :
26+ - ubuntu-latest
27+ arch :
28+ - x64
1729 steps :
18-
19- - uses : actions/checkout@v2
20- - uses : julia-actions/setup-julia@latest
30+ - uses : actions/checkout@v4
31+ - uses : julia-actions/setup-julia@v2
32+ with :
33+ version : ${{ matrix.version }}
34+ arch : ${{ matrix.arch }}
35+ - uses : julia-actions/cache@v1
36+ - uses : julia-actions/julia-buildpkg@v1
37+ - uses : julia-actions/julia-runtest@v1
38+ - uses : julia-actions/julia-processcoverage@v1
39+ - uses : codecov/codecov-action@v2
2140 with :
22- version : 1.6
23-
24- # Runs a single command using the runners shell
25- - name : Unit Tests
26- run : |
27- julia --project -e 'using Pkg; Pkg.instantiate(); Pkg.build();'
28- julia --threads 2 --project --check-bounds=yes --depwarn=yes -e 'import Pkg; Pkg.test(; coverage=true)'
29-
30- - name : Codecov Upload
31- run : |
32- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder());'
41+ file : lcov.info
Original file line number Diff line number Diff line change @@ -2,20 +2,23 @@ name: CompatHelper
22on :
33 schedule :
44 - cron : ' 0 0 */7 * *'
5-
65 workflow_dispatch :
7-
6+
7+ permissions :
8+ contents : write
9+ pull-requests : write
10+
811jobs :
912 CompatHelper :
1013 runs-on : ubuntu-latest
11-
14+
1215 steps :
1316 - name : Pkg.add("CompatHelper")
1417 run : julia -e 'using Pkg; Pkg.add("CompatHelper")'
15-
18+
1619 - name : CompatHelper.main()
1720 env :
1821 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1922 COMPATHELPER_PRIV : ${{ secrets.DOCUMENTER_KEY }}
20-
23+
2124 run : julia -e 'using CompatHelper; CompatHelper.main()'
Original file line number Diff line number Diff line change 11name : TagBot
22on :
3- issue_comment : # THIS BIT IS NEW
3+ issue_comment :
44 types :
55 - created
66 workflow_dispatch :
7+ inputs :
8+ lookback :
9+ default : 3
10+ permissions :
11+ actions : read
12+ checks : read
13+ contents : write
14+ deployments : read
15+ issues : read
16+ discussions : read
17+ packages : read
18+ pages : read
19+ pull-requests : read
20+ repository-projects : read
21+ security-events : read
22+ statuses : read
723jobs :
824 TagBot :
925 if : github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
Original file line number Diff line number Diff line change 11name = " ChowLiuTrees"
22uuid = " be466665-d60c-4e0a-9ae9-070eb5e678a5"
33authors = [" Guy Van den Broeck <guyvdb@cs.ucla.edu>" ]
4- version = " 0.1.4 "
4+ version = " 0.2.0 "
55
66[deps ]
77CUDA = " 052768ef-5323-5732-b1bb-66c8b64840ba"
88DataStructures = " 864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
99LinearAlgebra = " 37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1010
1111[compat ]
12- CUDA = " 3, 4"
12+ CUDA = " 3, 4, 5 "
1313DataStructures = " 0.17, 0.18"
1414julia = " 1.6"
Original file line number Diff line number Diff line change 11# ChowLiuTrees.jl
22
3- [ ![ Unit Tests] ( https://github.com/Juice-jl /ChowLiuTrees.jl/workflows/Unit%20Tests/badge.svg )] ( https://github.com/Juice-jl /ChowLiuTrees.jl/actions?query=workflow%3A%22Unit+Tests%22+branch%3Amain ) [ ![ codecov] ( https://codecov.io/gh/Juice-jl /ChowLiuTrees.jl/branch/main/graph/badge.svg )] ( https://codecov.io/gh/Juice-jl /ChowLiuTrees.jl )
3+ [ ![ Unit Tests] ( https://github.com/Tractables /ChowLiuTrees.jl/workflows/Unit%20Tests/badge.svg )] ( https://github.com/Tractables /ChowLiuTrees.jl/actions?query=workflow%3A%22Unit+Tests%22+branch%3Amain ) [ ![ codecov] ( https://codecov.io/gh/Tractables /ChowLiuTrees.jl/branch/main/graph/badge.svg )] ( https://codecov.io/gh/Tractables /ChowLiuTrees.jl )
44
55This package provides an efficient implementation for learning [ Chow-Liu Trees] ( https://en.wikipedia.org/wiki/Chow%E2%80%93Liu_tree ) from binary and categorical data.
66
Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ Jive = "ba5e3d4b-8524-549f-bc71-e76ad9e9deed"
55Test = " 8dfed614-e22c-5e08-85e1-65c5234f0b40"
66
77[compat ]
8- CUDA = " 3"
8+ CUDA = " 3, 5 "
99Jive = " 0.2"
You can’t perform that action at this time.
0 commit comments