Skip to content

Commit

Permalink
Doctest setup fix (#475)
Browse files Browse the repository at this point in the history
* Trigger build in doctest setup

* Use color output with Documenter
  • Loading branch information
omus committed Sep 7, 2024
1 parent a2da2f3 commit ea5b3d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
run: |
using Pkg
Pkg.instantiate()
- run: julia --project=docs docs/make.jl
- run: julia --color=yes --project=docs docs/make.jl
env:
DOCTESTS: "true"

Expand All @@ -148,7 +148,7 @@ jobs:
run: |
using Pkg
Pkg.instantiate()
- run: julia --project=docs docs/make.jl
- run: julia --color=yes --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
Expand Down
1 change: 1 addition & 0 deletions docs/src/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
```@meta
DocTestSetup = quote
using TimeZones, Dates
tz"UTC" # Trigger time zones build (if necessary)
end
```

Expand Down

0 comments on commit ea5b3d7

Please sign in to comment.