Skip to content

Integrate three different task runners with CI #44

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

Merged
merged 13 commits into from
May 13, 2025

Conversation

danielballan
Copy link
Contributor

@danielballan danielballan commented May 13, 2025

  • make example for @rossbar ("Be accessible to current sphinx users!") ←make build is run by tox
  • tox example for @bsipocz ("Test multiple versions!")
  • pixi example for @danielballan ("Pixi is the future!")

Any given project should probably pick one! But this repo will demonstrate how to use all three, and it will test all three on CI.

@danielballan danielballan marked this pull request as draft May 13, 2025 17:13
@danielballan
Copy link
Contributor Author

The pixi job is working (except on Windows):

Run pixi run test
✨ Pixi task (test in default): ./test.sh
loop in tutorials/executable/basics.md
[jupytext] Reading tutorials/executable/basics.md in format md
[jupytext] Writing tutorials/executable/basics.ipynb
loop in tutorials/static/static.md
loop in tutorials/matplotlib/interactive_mpl.md
[jupytext] Reading tutorials/matplotlib/interactive_mpl.md in format md
[jupytext] Writing tutorials/matplotlib/interactive_mpl.ipynb
loop in tutorials/matplotlib/static_mpl.md
[jupytext] Reading tutorials/matplotlib/static_mpl.md in format md
[jupytext] Writing tutorials/matplotlib/static_mpl.ipynb
============================= test session starts ==============================
platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0
rootdir: /home/runner/work/executable-tutorials/executable-tutorials
configfile: pytest.ini
plugins: anyio-[4](https://github.com/scientific-python/executable-tutorials/actions/runs/15002801972/job/42153879034#step:4:5).9.0, nbval-0.11.0
collected 12 items

tutorials/executable/basics.ipynb ....                                   [ 33%]
tutorials/matplotlib/interactive_mpl.ipynb .....                         [ 7[5](https://github.com/scientific-python/executable-tutorials/actions/runs/15002801972/job/42153879034#step:4:6)%]
tutorials/matplotlib/static_mpl.ipynb ...                                [100%]

============================= 12 passed in 11.93s ==============================
removed 'tutorials/executable/basics.ipynb'
removed 'tutorials/matplotlib/interactive_mpl.ipynb'
removed 'tutorials/matplotlib/static_mpl.ipynb'

@bsipocz bsipocz mentioned this pull request May 13, 2025
@bsipocz bsipocz marked this pull request as ready for review May 13, 2025 18:02
@bsipocz bsipocz merged commit 2bb26e6 into scientific-python:main May 13, 2025
14 checks passed
@danielballan danielballan deleted the three-task-runners branch May 13, 2025 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants