Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/generate_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ jobs:
added to the parent pull request, \#${{ github.event.pull_request.number }}.

delete-branch: true
add-paths: |
**/notebook.md

- name: Post comment flagging further action required
if: steps.spawn_pr.outputs.pull-request-operation == 'created'
Expand Down
8 changes: 5 additions & 3 deletions NotebookManagementTools/src/generate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ function generate(
# fencing:
literate_config = "codefence" => Pair("````@julia", "````" )

# Note the use of '$ ⋯ ' to interpolate into a Julia command. Naive use of
# $ doesn't work.
# Note the use of '$ ⋯ ' to interpolate into a Julia code execution block. Naive use
# of $ doesn't work.

cmd = `julia
--startup-file=no
--color=yes
Expand Down Expand Up @@ -92,13 +93,14 @@ function generate(
using Literate

if '$testing'
@info "Testing '$name'."
@testset "'$name'" begin
include("'$test_file'")
@test true
end
end

@info "Generating markdown for '$name'... "
@info "Generating markdown for '$name'."

Literate.markdown(
"'$script_file'",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ scitype(v[1:2])

# #### Exercise 2 solution

# From the question statement:
# From the question statement, we have:

quality = ["good", "poor", "poor", "excellent", missing, "good", "excellent"]

Expand Down
Loading