Cowsay.jl/.woodpecker.yml
millironx 9b16e5ed6e
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker/1 Pipeline was successful
ci/woodpecker/manual/woodpecker/2 Pipeline was successful
ci/woodpecker/manual/woodpecker/3 Pipeline was successful
ci/woodpecker/manual/woodpecker/4 Pipeline was successful
Update '.woodpecker.yml'
2023-02-22 18:07:20 +00:00

47 lines
No EOL
1.1 KiB
YAML

clone:
git:
image: woodpeckerci/plugin-git
settings:
partial: false
depth: 0
matrix:
JULIA_VERSION:
- "1.0"
- "1.6"
- "1"
- "rc"
pipeline:
test:
group: ci
image: julia:${JULIA_VERSION}
pull: true
when:
event: [pull_request, push]
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
image: julia:${JULIA_VERSION}-alpine3.17
when:
event: push
branch: master
matrix:
JULIA_VERSION: "1"
secrets:
- DOCS_REMOTE_USER
- DOCS_REMOTE_SERVER
- DOCS_REMOTE_DIR
- DOCS_REMOTE_KEY
- DOCS_KEY
- DOCS_PUBKEY
- project_access_token
commands:
- apk add git
- 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