Skip to content

Commit

Permalink
ci: test starting the Kroki services locally
Browse files Browse the repository at this point in the history
  • Loading branch information
bauglir committed Mar 14, 2024
1 parent 90d1fa1 commit 0f2d084
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/Documentation.yml
Expand Up @@ -18,14 +18,27 @@ jobs:
- uses: julia-actions/setup-julia@v1
with:
version: '1.10'
- name: Install dependencies
- name: Launch local Kroki service instance(s)
run: |
julia --project=. -e '
using Pkg
Pkg.instantiate()
using Kroki
Kroki.Service.start!()
Kroki.Service.info()
'
env:
KROKI_CONTAINER_IMAGE_TAG: 0.18.0
- name: Set up documentation dependencies
run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
'
- name: Build & Deploy
run: julia --project=docs docs/make.jl
env:
# For authentication with GitHub Actions
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
KROKI_ENDPOINT: http://localhost:8000

0 comments on commit 0f2d084

Please sign in to comment.