Cowsay.jl/.woodpecker.yml

47 lines
1.1 KiB
YAML
Raw Normal View History

2023-02-20 15:46:04 +00:00
clone:
git:
image: woodpeckerci/plugin-git
settings:
partial: false
depth: 0
2023-02-05 20:11:23 +00:00
matrix:
JULIA_VERSION:
- "1.0"
- "1.6"
- "1"
- "rc"
pipeline:
test:
group: ci
image: julia:${JULIA_VERSION}
pull: true
when:
2023-02-15 16:54:32 +00:00
event: [pull_request, push]
2023-02-05 20:11:23 +00:00
commands:
- julia --color=yes -e 'using Pkg; Pkg.activate(pwd()); Pkg.instantiate()'
- julia --color=yes -e 'using Pkg; Pkg.activate(pwd()); Pkg.test(;coverage=true)'
docs:
group: ci
2023-02-22 18:07:20 +00:00
image: julia:${JULIA_VERSION}-alpine3.17
2023-02-05 20:11:23 +00:00
when:
2023-02-15 16:54:32 +00:00
event: push
branch: master
2023-02-20 15:07:17 +00:00
matrix:
JULIA_VERSION: "1"
2023-02-05 20:11:23 +00:00
secrets:
- DOCS_REMOTE_USER
- DOCS_REMOTE_SERVER
- DOCS_REMOTE_DIR
2023-02-20 15:07:17 +00:00
- DOCS_REMOTE_KEY
2023-02-05 20:11:23 +00:00
- DOCS_KEY
- DOCS_PUBKEY
2023-02-22 17:52:15 +00:00
- project_access_token
2023-02-05 20:11:23 +00:00
commands:
2023-02-22 18:07:20 +00:00
- apk add git
2023-02-22 17:52:15 +00:00
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- julia --project=docs/ -e 'using Pkg; Pkg.add(;url="https://github.com/JuliaDocs/Documenter.jl", rev="b50d74bc02d6883ef36aa19f19129e7a2d675ea9")'
- julia --project=docs/ docs/make.jl
2023-02-05 20:11:23 +00:00