Skip to content

Commit

Permalink
add lalonde notebook (#448)
Browse files Browse the repository at this point in the history
add lalonde notebook
  • Loading branch information
heimengqi authored May 4, 2021
1 parent 5bf448a commit 7e74ed8
Show file tree
Hide file tree
Showing 4 changed files with 1,155 additions and 3 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))

# Install the package
- script: 'pip install --upgrade setuptools wheel Cython && pip install ${{ parameters.package }}'
- script: 'python -m pip install --upgrade pip && pip install --upgrade setuptools wheel Cython && pip install ${{ parameters.package }}'
displayName: 'Install dependencies'

- ${{ parameters.job.steps }}
2 changes: 1 addition & 1 deletion econml/tests/test_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_notebook(file):
# require all cells to complete within 15 minutes, which will help prevent us from
# creating notebooks that are annoying for our users to actually run themselves
ep = nbconvert.preprocessors.ExecutePreprocessor(
timeout=1200, allow_errors=True, extra_arguments=["--HistoryManager.enabled=False"])
timeout=1800, allow_errors=True, extra_arguments=["--HistoryManager.enabled=False"])

ep.preprocess(nb, {'metadata': {'path': _nbdir}})
errors = [nbconvert.preprocessors.CellExecutionError.from_cell_and_msg(cell, output)
Expand Down
Loading

0 comments on commit 7e74ed8

Please sign in to comment.