From b664e6f32b605c47ad0c0b5984bbf108ae86a3de Mon Sep 17 00:00:00 2001 From: Yuto Horikawa Date: Wed, 11 Jan 2023 09:36:13 +0900 Subject: [PATCH] Add codecov, change default branch, bump version to v0.1.4 (#38) * change the default branch from master to main * add codecov * bump version to v0.1.4 --- .github/workflows/CI.yml | 6 +++++- Project.toml | 2 +- README.md | 1 + docs/make.jl | 2 ++ 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index cff66f4..c033dfc 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -2,7 +2,7 @@ name: CI on: push: branches: - - master + - main tags: '*' pull_request: jobs: @@ -47,6 +47,10 @@ jobs: - uses: julia-actions/julia-runtest@v1 with: prefix: ${{ matrix.prefix }} + - uses: julia-actions/julia-processcoverage@v1 + - uses: codecov/codecov-action@v1 + with: + file: lcov.info docs: name: Documentation runs-on: ubuntu-latest diff --git a/Project.toml b/Project.toml index 4851dc0..c87b58d 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ImageClipboard" uuid = "6db54171-f50f-4661-a74f-bc514ef16cee" authors = ["hyrodium and contributors"] -version = "0.1.3" +version = "0.1.4" [deps] ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f" diff --git a/README.md b/README.md index 7a0fa0c..cbf17d2 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://hyrodium.github.io/ImageClipboard.jl/stable) [![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://hyrodium.github.io/ImageClipboard.jl/dev) [![Build Status](https://github.com/hyrodium/ImageClipboard.jl/workflows/CI/badge.svg)](https://github.com/hyrodium/ImageClipboard.jl/actions) +[![Coverage](https://codecov.io/gh/hyrodium/ImageClipboard.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/hyrodium/ImageClipboard.jl) Copy & Paste images with Julia diff --git a/docs/make.jl b/docs/make.jl index 733e42a..46ef858 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -12,6 +12,7 @@ makedocs(; prettyurls=get(ENV, "CI", "false") == "true", canonical="https://hyrodium.github.io/ImageClipboard.jl", assets=["assets/favicon.ico"], + edit_link="main", ), pages=[ "Home" => "index.md", @@ -21,4 +22,5 @@ makedocs(; deploydocs(; repo="github.com/hyrodium/ImageClipboard.jl", + devbranch="main", )