Skip to content

Commit

Permalink
Fix preinstall check (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Apr 4, 2024
1 parent 9e6d56a commit 1b81acb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ jobs:
if: always()
needs:
- base_setup
- base_setup_minimum
- base_setup_pre
- test_lint
- check_links
- binder_link
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ source = "nodejs"

[tool.hatch.envs.default.scripts]
check_minimum = "python -c 'from jupyter_core import __version__; assert __version__ == \"4.12.0\"'"
check_pre = "python -c 'import os; assert os.environ[\"PIP_CONSTRAINT\"]'"
check_pre = "python -c 'import os; assert os.environ[\"PIP_PRE\"] == \"1\"'"

[tool.hatch.envs.typing]
dependencies = ["pre-commit"]
Expand Down

0 comments on commit 1b81acb

Please sign in to comment.