-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI, performance] .. code-block:: :test:
snippets should combine in a single compilation & run
#14313
Comments
I agree with this observation. After this commit in my |
also, I really want to know what are valid use cases left for note: despite common misconception, |
How can you use |
original post should apply to both nim and rst
that comment should only apply to nim files, not rst, (eg like before kaushalmodi/std_vector@b1502d5) or even |
This might not be quite the answer you were looking for, but I ran away from the I'm now mostly happy with a switch to |
the other blockers are: #9227 and #14174; hopefully all can be fixed soon |
Thanks! On reflection, I think I buried the lead. In the |
well i just fixed #14174 so we're down to 2 more blockers; /cc @Araq
that's it, it works; the generated html looks just as good.
table: # will generate RST table
0: "country", "population"
1: "france", "70M"
|
No... I mean, no. It's a brilliant hack but I don't want to have my spec inside a .nim file. |
This commit 5fc78d8 addressed #9300 by making N runnableExamples run N x faster, which resulted in a major speedup, in particular during CI or local testing.
We should apply the same trick for
.. code-block:: :test:
snippets, which are still being run independently.Example
Current Output
Expected Output
Possible Solution
.. code-block::
blocks that are nottest:
, we should be able to combine them in a single file that gets compiled (but not run)Additional Information
The text was updated successfully, but these errors were encountered: