Code Monkey home page Code Monkey logo

Comments (5)

mortenpi avatar mortenpi commented on September 22, 2024

Do you have a link to an example CI run where you had this failure?

from literate.jl.

JeffFessler avatar JeffFessler commented on September 22, 2024

This happens to me very often so it was easy to make an example:
JeffFessler/book-la-demo#12
github says it "passes" but the actual build is full of errors due to the missing package.

from literate.jl.

mortenpi avatar mortenpi commented on September 22, 2024

The build on that PR was a success though? It does have heaps of warnings in the logs, but they're warnings, not errors. If you want them to be errors, you need to set strict = true in makedocs.

from literate.jl.

JeffFessler avatar JeffFessler commented on September 22, 2024

Interesting. I had not noticed that those were mere warnings because they are filled with serious sounding words like failed and ArgumentError and UndefVarError.
I guess I expected that an omitted deps would be an actual error, not just a warning.

I had studied the Literate docs pretty carefully, but I had overlooked the (apparently experimental) keyword option strict = true in the Documenter docs for makedocs.
Thanks for letting me know about that!
I added it and now things fail/work as expected. I'll close this issue.
Hopefully the dialogue here will help someone else in the future.
Thanks much!

from literate.jl.

fredrikekre avatar fredrikekre commented on September 22, 2024

Is there a way to make my local test more faithful to the cloud environment so that if I am missing a deps entry then it will fail locally? I've tried JULIA_LOAD_PATH=docs/Project.toml:@StdLib but that just caused many seemingly unrelated errors.

Setting the load path should work, if you make sure the only entry is the docs/Project.toml environment. What unrelated errors did you see?

from literate.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.