-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update project toml for julia 1.10 * migration to tractables * compat helper * tagbot * ci update * fix compat * update toml * ChowLiuTrees = "0.2" * bump version
- Loading branch information
1 parent
388be0e
commit 6b26d8d
Showing
11 changed files
with
78 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,56 @@ | ||
name: Unit Tests | ||
|
||
# Controls when the action will run. Triggers the workflow on push or pull request | ||
# events but only for the master branch | ||
on: | ||
pull_request: | ||
name: Unit Tests | ||
on: | ||
push: | ||
branches: [master] | ||
tags: ["*"] | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
|
||
permissions: | ||
actions: write | ||
contents: read | ||
env: | ||
DATADEPS_ALWAYS_ACCEPT: 1 | ||
JIVE_PROCS: 1 | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
|
||
test: | ||
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: | ||
- '1.6' | ||
- '1' | ||
- 'nightly' | ||
os: | ||
- ubuntu-latest | ||
arch: | ||
- x64 | ||
steps: | ||
|
||
- uses: actions/checkout@v2 | ||
- uses: julia-actions/setup-julia@latest | ||
- uses: actions/checkout@v4 | ||
- uses: julia-actions/setup-julia@v2 | ||
with: | ||
version: 1.7 | ||
|
||
# Runs a single command using the runners shell | ||
- name: Unit Tests | ||
run: | | ||
julia --project --check-bounds=yes --depwarn=yes -e 'import Pkg; Pkg.test(; coverage=true)' | ||
- name: Codecov Upload | ||
run: | | ||
julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder());' | ||
version: ${{ matrix.version }} | ||
arch: ${{ matrix.arch }} | ||
- uses: julia-actions/cache@v1 | ||
- uses: julia-actions/julia-buildpkg@v1 | ||
- uses: julia-actions/julia-runtest@v1 | ||
- uses: julia-actions/julia-processcoverage@v1 | ||
- uses: codecov/codecov-action@v2 | ||
with: | ||
file: lcov.info | ||
docs: | ||
name: Documentation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: julia-actions/julia-buildpkg@latest | ||
- run: | | ||
sudo apt-get -qq update | ||
sudo apt install -y pdf2svg texlive-latex-base texlive-binaries texlive-pictures texlive-latex-extra texlive-luatex | ||
luatex -v | ||
pdflatex -v | ||
- uses: julia-actions/julia-docdeploy@latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "ProbabilisticCircuits" | ||
uuid = "2396afbe-23d7-11ea-1e05-f1aa98e17a44" | ||
authors = ["Guy Van den Broeck <[email protected]>"] | ||
version = "0.4.1" | ||
version = "0.5.0" | ||
|
||
[deps] | ||
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" | ||
|
@@ -16,8 +16,8 @@ SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b" | |
TikzGraphs = "b4f28e30-c73f-5eaf-a395-8a9db949a742" | ||
|
||
[compat] | ||
CUDA = "3.8.1, 4" | ||
ChowLiuTrees = "0.1.1" | ||
CUDA = "3.8.1, 4, 5" | ||
ChowLiuTrees = "0.2" | ||
CodecZlib = "0.7" | ||
DirectedAcyclicGraphs = "0.1.3, 0.2" | ||
Graphs = "1" | ||
|
@@ -26,3 +26,5 @@ MetaGraphs = "0.7" | |
SpecialFunctions = "2.1" | ||
TikzGraphs = "1.3" | ||
julia = "1.6" | ||
Random = "1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters