Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: "Run CompatHelper"
run: |
import CompatHelper
CompatHelper.main()
CompatHelper.main(subdirs=["ColorSchemes"])
shell: julia --color=yes {0}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/Invalidations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,24 @@ jobs:
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- uses: actions/checkout@v3
- uses: julia-actions/julia-buildpkg@v1
- uses: actions/checkout@v6
- uses: julia-actions/julia-buildpkg@latest
with:
project: ColorSchemes
- uses: julia-actions/julia-invalidations@v1
with:
project: ColorSchemes
id: invs_pr

- uses: actions/checkout@v3
- uses: actions/checkout@v6
with:
ref: ${{ github.event.repository.default_branch }}
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-buildpkg@latest
with:
project: ColorSchemes
- uses: julia-actions/julia-invalidations@v1
with:
project: ColorSchemes
id: invs_default

- name: Report invalidation counts
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
steps:
- uses: JuliaRegistries/TagBot@v1
with:
subdir: ColorSchemes
token: ${{ secrets.GITHUB_TOKEN }}
# Edit the following line to reflect the actual name of the GitHub Secret containing your private key
ssh: ${{ secrets.DOCUMENTER_KEY }}
Expand Down
68 changes: 34 additions & 34 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,47 @@
name: CI

on:
pull_request:
branches:
- master
branches: [master]
push:
branches:
- master
branches: [master]
tags: '*'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
test:
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.julia-arch }}
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
julia-version:
- "1.6"
- "1"
os:
- ubuntu-latest
- windows-latest
julia-arch:
- x64
exclude:
- os: macOS-latest
julia-arch: aarch64
julia-version: '1'
version:
- '1.6' # lowest declared LTS in Project.toml
- 'lts' # latest LTS
- '1'
os: [ubuntu-latest, windows-latest, macos-latest]
arch: [x64]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v4
- uses: julia-actions/julia-buildpkg@latest
with:
project: ColorSchemes
- uses: julia-actions/julia-runtest@latest
with:
project: ColorSchemes
- uses: julia-actions/julia-processcoverage@latest
with:
directories: ColorSchemes/src
- uses: codecov/codecov-action@v5
with:
file: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
Expand All @@ -46,20 +50,16 @@ jobs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@latest
with:
version: '1'
- run: julia --project=docs -e 'using Pkg; Pkg.instantiate()'
- run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- run: |
julia --project=docs -e '
using Documenter: doctest
using ColorSchemes
doctest(ColorSchemes)' # change ColorSchemes to the name of your package
import Documenter, ColorSchemes
Documenter.doctest(joinpath(@__DIR__, "docs", "src"), [ColorSchemes])
'
- run: julia --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
*.cov
.vscode/*

docs/build/*
Manifest.toml
src/build_*
**/Manifest.toml

**/src/build_*
1 change: 1 addition & 0 deletions ColorSchemes/LICENSE.md
2 changes: 1 addition & 1 deletion Project.toml → ColorSchemes/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ColorVectorSpace = "0.10, 0.11"
Colors = "0.12, 0.13, 0.13.1"
FixedPointNumbers = "0.8, 0.8.5"
PrecompileTools = "1"
julia = "1"
julia = "1.6"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
1 change: 1 addition & 0 deletions ColorSchemes/README.md
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
[deps]
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4"
ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f"
ColorVectorSpace = "c3611d14-8923-5661-9e6a-0046d554d3a4"
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
FixedPointNumbers = "53c48c17-4a7d-5ca2-90c5-79b7896eea93"
Luxor = "ae8d54c2-7ccd-5906-9d76-62fc9837b5bc"

[compat]
Documenter = "1"

[sources]
ColorSchemes = {path = "../ColorSchemes"}
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ makedocs(
sitename = "ColorSchemes",
warnonly = true,
format = Documenter.HTML(
inventory_version = pkgversion(ColorSchemes),
size_threshold = nothing,
prettyurls = get(ENV, "CI", nothing) == "true",
assets = ["assets/colorschemes-docs.css"]),
Expand Down
Loading