diff --git a/.cirrus.yml b/.cirrus.yml index 153e8d1..df135a1 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -6,6 +6,7 @@ task: folder: ~/.julia/artifacts env: JULIA_VERSION: 1.0 + JULIA_VERSION: 1.2 JULIA_VERSION: 1.5 JULIA_VERSION: nightly install_script: @@ -15,4 +16,4 @@ task: test_script: - cirrusjl test coverage_script: - - cirrusjl coverage codecov coveralls + - cirrusjl coverage codecov diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 40a2a6d..67727b4 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -62,9 +62,9 @@ jobs: - run: | julia --project=docs -e ' using Documenter: DocMeta, doctest - using SimpleWorkflow - DocMeta.setdocmeta!(SimpleWorkflow, :DocTestSetup, :(using SimpleWorkflow); recursive=true) - doctest(SimpleWorkflow)' + using SimpleWorkflows + DocMeta.setdocmeta!(SimpleWorkflows, :DocTestSetup, :(using SimpleWorkflows); recursive=true) + doctest(SimpleWorkflows)' - run: julia --project=docs docs/make.jl env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml deleted file mode 100644 index 2c7d170..0000000 --- a/.github/workflows/dependabot.yml +++ /dev/null @@ -1,7 +0,0 @@ -version: 2 -updates: - # Maintain dependencies for GitHub Actions - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "daily" diff --git a/Project.toml b/Project.toml index 7516e0c..f869109 100644 --- a/Project.toml +++ b/Project.toml @@ -1,4 +1,4 @@ -name = "SimpleWorkflow" +name = "SimpleWorkflows" uuid = "6a97d125-85da-4b66-b300-4bba10360563" authors = ["Qi Zhang "] version = "0.2.0" diff --git a/README.md b/README.md index 0423d5a..c2759c9 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,8 @@ -# SimpleWorkflow +# SimpleWorkflows -[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://MineralsCloud.github.io/SimpleWorkflow.jl/stable) -[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://MineralsCloud.github.io/SimpleWorkflow.jl/dev) -[![Build Status](https://github.com/MineralsCloud/SimpleWorkflow.jl/workflows/CI/badge.svg)](https://github.com/MineralsCloud/SimpleWorkflow.jl/actions) -[![Build Status](https://ci.appveyor.com/api/projects/status/github/MineralsCloud/SimpleWorkflow.jl?svg=true)](https://ci.appveyor.com/project/singularitti/SimpleWorkflow-jl) -[![Build Status](https://cloud.drone.io/api/badges/MineralsCloud/SimpleWorkflow.jl/status.svg)](https://cloud.drone.io/MineralsCloud/SimpleWorkflow.jl) -[![pipeline status](https://gitlab.com/singularitti/SimpleWorkflow.jl/badges/master/pipeline.svg)](https://gitlab.com/singularitti/SimpleWorkflow.jl/-/pipelines) -[![Build Status](https://api.cirrus-ci.com/github/MineralsCloud/SimpleWorkflow.jl.svg)](https://cirrus-ci.com/github/MineralsCloud/SimpleWorkflow.jl) -[![Coverage](https://codecov.io/gh/MineralsCloud/SimpleWorkflow.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/MineralsCloud/SimpleWorkflow.jl) -[![Open in Visual Studio Code](https://open.vscode.dev/badges/open-in-vscode.svg)](https://open.vscode.dev/organization/repository) +[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://MineralsCloud.github.io/SimpleWorkflows.jl/stable) +[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://MineralsCloud.github.io/SimpleWorkflows.jl/dev) +[![Build Status](https://ci.appveyor.com/api/projects/status/github/MineralsCloud/SimpleWorkflows.jl?svg=true)](https://ci.appveyor.com/project/singularitti/SimpleWorkflows-jl) +[![Build Status](https://cloud.drone.io/api/badges/MineralsCloud/SimpleWorkflows.jl/status.svg)](https://cloud.drone.io/MineralsCloud/SimpleWorkflows.jl) +[![Build Status](https://api.cirrus-ci.com/github/MineralsCloud/SimpleWorkflows.jl.svg)](https://cirrus-ci.com/github/MineralsCloud/SimpleWorkflows.jl) +[![Coverage](https://codecov.io/gh/MineralsCloud/SimpleWorkflows.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/MineralsCloud/SimpleWorkflows.jl) diff --git a/docs/make.jl b/docs/make.jl index 81c894a..c9b3a12 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,16 +1,16 @@ -using SimpleWorkflow +using SimpleWorkflows using Documenter -DocMeta.setdocmeta!(SimpleWorkflow, :DocTestSetup, :(using SimpleWorkflow); recursive=true) +DocMeta.setdocmeta!(SimpleWorkflows, :DocTestSetup, :(using SimpleWorkflows); recursive=true) makedocs(; - modules=[SimpleWorkflow], + modules=[SimpleWorkflows], authors="Qi Zhang ", - repo="https://github.com/MineralsCloud/SimpleWorkflow.jl/blob/{commit}{path}#{line}", - sitename="SimpleWorkflow.jl", + repo="https://github.com/MineralsCloud/SimpleWorkflows.jl/blob/{commit}{path}#{line}", + sitename="SimpleWorkflows.jl", format=Documenter.HTML(; prettyurls=get(ENV, "CI", "false") == "true", - canonical="https://MineralsCloud.github.io/SimpleWorkflow.jl", + canonical="https://MineralsCloud.github.io/SimpleWorkflows.jl", assets=String[], ), pages=[ @@ -19,5 +19,5 @@ makedocs(; ) deploydocs(; - repo="github.com/MineralsCloud/SimpleWorkflow.jl", + repo="github.com/MineralsCloud/SimpleWorkflows.jl", ) diff --git a/docs/src/index.md b/docs/src/index.md index d950b9c..61db537 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -1,14 +1,14 @@ ```@meta -CurrentModule = SimpleWorkflow +CurrentModule = SimpleWorkflows ``` -# SimpleWorkflow +# SimpleWorkflows -Documentation for [SimpleWorkflow](https://github.com/MineralsCloud/SimpleWorkflow.jl). +Documentation for [SimpleWorkflows](https://github.com/MineralsCloud/SimpleWorkflows.jl). ```@index ``` ```@autodocs -Modules = [SimpleWorkflow] +Modules = [SimpleWorkflows] ``` diff --git a/src/SimpleWorkflow.jl b/src/SimpleWorkflows.jl similarity index 66% rename from src/SimpleWorkflow.jl rename to src/SimpleWorkflows.jl index 2408951..77a7f01 100644 --- a/src/SimpleWorkflow.jl +++ b/src/SimpleWorkflows.jl @@ -1,4 +1,4 @@ -module SimpleWorkflow +module SimpleWorkflows include("jobs.jl") include("graph.jl") diff --git a/test/runtests.jl b/test/runtests.jl index 8e744bd..9714b3c 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,4 +1,4 @@ -using SimpleWorkflow +using SimpleWorkflows using Test @testset "SimpleWorkflow.jl" begin diff --git a/test/workflow.jl b/test/workflow.jl index d757bd4..a64d63f 100644 --- a/test/workflow.jl +++ b/test/workflow.jl @@ -1,4 +1,4 @@ -using SimpleWorkflow +using SimpleWorkflows j = AtomicJob(`ls`) k = AtomicJob(() -> sleep(5))