-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: adding devdeps testing and cron and workflow dispatch (#639)
* MAINT: fix tox syntax * CI: adding CI workflow to test with developer version of dependencies * CI: adding cronjob and workflow dispatch * CI: cleanup upper limits as these should be picked up by the devdeps job * CI: avoid windows error by relying on available pip; print out installed versions to help future debugging
- Loading branch information
Showing
3 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: continuous-integration-devdeps | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
schedule: | ||
# run every Monday at 5am UTC | ||
- cron: '0 5 * * 1' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
tests: | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
sphinx: [""] # Newest Sphinx (any) | ||
myst-parser: [""] # Newest MyST Parser (any) | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3.12 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
cache: pip | ||
- name: Install myst-nb with development Sphinx and myst-parser versions | ||
run: | | ||
pip install --upgrade pip | ||
pip install --upgrade git+https://github.com/executablebooks/MyST-Parser.git#egg=myst-parser git+https://github.com/sphinx-doc/sphinx.git#egg=sphinx -e .[testing] | ||
- name: Run pytest | ||
run: pytest --durations=10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters