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