diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae98865..37a58da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,9 +1,9 @@ name: CI -# Run on master, tags, or any pull request +# Run on main, tags, or any pull request on: push: - branches: [master] + branches: [main] tags: ["*"] pull_request: diff --git a/README.md b/README.md index cbe4182..35cb2b4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![](https://img.shields.io/badge/docs-dev-blue.svg)](https://mirkobunse.github.io/CriticalDifferenceDiagrams.jl/dev) [![Build Status](https://github.com/mirkobunse/CriticalDifferenceDiagrams.jl/workflows/CI/badge.svg)](https://github.com/mirkobunse/CriticalDifferenceDiagrams.jl/actions) -[![codecov](https://codecov.io/gh/mirkobunse/CriticalDifferenceDiagrams.jl/branch/master/graph/badge.svg?token=LWBUWCH8OQ)](https://codecov.io/gh/mirkobunse/CriticalDifferenceDiagrams.jl) +[![codecov](https://codecov.io/gh/mirkobunse/CriticalDifferenceDiagrams.jl/branch/main/graph/badge.svg?token=LWBUWCH8OQ)](https://codecov.io/gh/mirkobunse/CriticalDifferenceDiagrams.jl) # [Critical difference diagrams in Julia](https://mirkobunse.github.io/CriticalDifferenceDiagrams.jl/dev) diff --git a/docs/src/index.md b/docs/src/index.md index 65c44d2..7b1a234 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -28,7 +28,7 @@ The example plot above is then generated with the following code: using CriticalDifferenceDiagrams, CSV, DataFrames, Downloads, PGFPlots # we generate the above example from the underlying data -url = "https://raw.githubusercontent.com/hfawaz/cd-diagram/master/example.csv" +url = "https://raw.githubusercontent.com/hfawaz/cd-diagram/main/example.csv" df = CSV.read(Downloads.download(url), DataFrame) plot = CriticalDifferenceDiagrams.plot( diff --git a/docs/src/python-wrapper.md b/docs/src/python-wrapper.md index 9029f72..f631584 100644 --- a/docs/src/python-wrapper.md +++ b/docs/src/python-wrapper.md @@ -19,7 +19,7 @@ import pandas as pd from wget import download # we generate the above example from the underlying data -download("https://raw.githubusercontent.com/hfawaz/cd-diagram/master/example.csv") +download("https://raw.githubusercontent.com/hfawaz/cd-diagram/main/example.csv") df = pd.read_csv("example.csv") plot = cdd.plot( diff --git a/test/readme.jl b/test/readme.jl index 6a8b1c6..8e70658 100644 --- a/test/readme.jl +++ b/test/readme.jl @@ -1,7 +1,7 @@ @assert success(`lualatex -v`) # make sure the PDF and SVG export will work @testset "README.jl example" begin - url = "https://raw.githubusercontent.com/hfawaz/cd-diagram/master/example.csv" + url = "https://raw.githubusercontent.com/hfawaz/cd-diagram/main/example.csv" df = CSV.read(Downloads.download(url), DataFrame) plot = CriticalDifferenceDiagrams.plot( diff --git a/test/runtests.jl b/test/runtests.jl index efe2db7..9b21153 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -3,7 +3,7 @@ using CriticalDifferenceDiagrams, CSV, DataFrames, Downloads, HypothesisTests, P include("friedman.jl") # download and read a test data set and remove the intermediate file -function _getdata(url="https://raw.githubusercontent.com/hfawaz/cd-diagram/master/example.csv") +function _getdata(url="https://raw.githubusercontent.com/hfawaz/cd-diagram/main/example.csv") @info "Downloading $url" testfile = Downloads.download(url) df = CSV.read(testfile, DataFrame)