-
Notifications
You must be signed in to change notification settings - Fork 10
Running tests for NBs 7685 #262
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
Changes from 3 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
bb90425
tmp: new run jl tests
VsevolodX d9ee356
tmp: run nb healthchecks
VsevolodX f229198
tmp: new run jl tests
VsevolodX 4a51a60
update: fix a test
VsevolodX 3d7d088
update: dynamical origin url
VsevolodX 79b8e6d
update: dynamical running of notebooks healthchecks
VsevolodX 967a7e0
update: dynamical running of notebooks healthchecks
VsevolodX 3b1d9b1
tmp: set dev url
VsevolodX 916c985
update: use vite
VsevolodX 8febe85
update: cleanup
VsevolodX a627bc0
update: description of JL URL env
VsevolodX 9b111ef
try: check to run healthchecks
VsevolodX 082c46b
update: more coorect way to set JL flag
VsevolodX 255b5ca
update: dockefile
VsevolodX 8c08ef1
update: dockerfile
VsevolodX 3707758
update: pass flag to GH
VsevolodX d10c27d
tmp: for ax tests
VsevolodX 934b3d0
tmp: for ax tests
VsevolodX 5918486
update: adjustment to run health checks
VsevolodX 53ee515
chore: move url to env
VsevolodX a642fb7
chore: move url to env
VsevolodX 560a006
chore: set to false
VsevolodX a67a6c0
chore: fix a typo
VsevolodX 64bd250
try: dont run hc
VsevolodX File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
"main": "index.js", | ||
"scripts": { | ||
"test": "CYPRESS_BASE_URL=${CYPRESS_BASE_URL:-'http://localhost:3001'} cypress open", | ||
"test:headless": "export TAGS=${TAGS:-'not @ignore and not @notebook_healthcheck'}; CYPRESS_BASE_URL=${CYPRESS_BASE_URL:-'http://localhost:3001'} cypress run -e TAGS=\"$TAGS\"", | ||
"test:headless": "export TAGS=${TAGS:-'not @ignore'}; CYPRESS_BASE_URL=${CYPRESS_BASE_URL:-'http://localhost:3001'} cypress run -e TAGS=\"$TAGS\"", | ||
|
||
"test:healthcheck": "TAGS='not @ignore and @notebook_healthcheck' npm run test:headless", | ||
"lint": "npx eslint cypress && prettier --write cypress" | ||
}, | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe get this from a settings file with the following logic: if
development
profile, usehttps://deploy-preview-{JupyterLitePullRequestNumber}--mat3ra-jupyterlite.netlify.app
. So that you only need to update:isDevelopment: true, JupyterLitePullRequestNumber: 56