Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update version and tests #6

Merged
merged 7 commits into from
Apr 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ jobs:
fail-fast: false
matrix:
version:
- '1.5'
- 'nightly'
- '1.6'
- '1.10'
os:
- ubuntu-latest
arch:
- x64
python-version: ['3.8']
python-version: ['3.10']
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
Expand Down Expand Up @@ -55,13 +55,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: '3.8'
python-version: '3.10'
- run: |
python -m pip install setuptools mlflow
- run: |
Expand Down
7 changes: 4 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MLFlowLogger"
uuid = "a17d1b34-d2df-4d9e-9e11-6289e57bd259"
authors = ["rejuvyesh <[email protected]> and contributors"]
version = "0.3.3"
version = "0.4.0"

[deps]
FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
Expand All @@ -10,10 +10,11 @@ MLFlowClient = "64a0f543-368b-4a9a-827a-e71edb2a0b83"
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"

[compat]
julia = "1.5"
julia = "1.8"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"

[targets]
test = ["Test"]
test = ["Test", "Compat"]
1 change: 1 addition & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DocumenterInterLinks = "d12716ef-a0f6-4df4-a9f1-a5a34e75c656"
9 changes: 8 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
using MLFlowLogger
using Documenter
using DocumenterInterLinks

DocMeta.setdocmeta!(MLFlowLogger, :DocTestSetup, :(using MLFlowLogger); recursive=true)

links = InterLinks(
"Julia" => (
"https://docs.julialang.org/en/v1/",
joinpath(dirname(dirname(pathof(DocumenterInterLinks))), "docs/src/inventories/Julia.toml")
),
)
makedocs(;
modules=[MLFlowLogger],
authors="rejuvyesh <[email protected]> and contributors",
Expand All @@ -16,6 +22,7 @@ makedocs(;
pages=[
"Home" => "index.md",
],
plugins=[links],
)

deploydocs(;
Expand Down
2 changes: 1 addition & 1 deletion src/MLFlowLogger.jl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Returns a tuple with the name of the fields of the structure `val` that
should be logged to Comet.ml. This function should be overridden when
you want Comet.ml to ignore some fields in a structure when logging
it. The default behaviour is to return the same result as `propertynames`.
See also: [`Base.propertynames`](@ref)
See also: [`Base.propertynames`](@extref)
"""
logable_propertynames(val::Any) = propertynames(val)

Expand Down
1 change: 1 addition & 0 deletions test/logging.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Base.CoreLogging
using FileIO
using ImageIO
using Compat

@testset "Increment Step" begin
mlflogger = MLFLogger(
Expand Down
Loading