Skip to content

Commit

Permalink
Correct paths for doc validation
Browse files Browse the repository at this point in the history
- Set PYTHONPATH so doc validation can find LensKit
- Re-run the Getting Started notebook
  • Loading branch information
mdekstrand committed Feb 28, 2019
1 parent f7e6b13 commit ecea752
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 42 deletions.
13 changes: 7 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- script: |
conda create -n lkpy -qy $(conda.deps)
conda install -n lkpy -qy ipykernel nbformat jupyter
conda install -n lkpy -qy ipykernel nbformat jupyter matplotlib
displayName: Create Anaconda environment
- script: |
Expand Down Expand Up @@ -68,11 +68,6 @@ jobs:
testResultsFiles: 'build/test-results.xml'
testRunTitle: 'Publish test results for Python $(python.version)'

- script: |
source activate lkpy
cp -r ml-100k doc
python3 -m pytest --nbval-lax doc
- script: |
source activate lkpy
env NUMBA_DISABLE_JIT=1 python3 -m pytest --cov=lenskit --cov-report=xml --cov-report=html -m 'not eval'
Expand Down Expand Up @@ -101,6 +96,12 @@ jobs:
summaryFileLocation: '$(System.DefaultWorkingDirectory)/coverage.xml'
reportDirectory: '$(System.DefaultWorkingDirectory)/htmlcov'

- script: |
source activate lkpy
cp -r ml-100k doc
export PYTHONPATH="$PWD"
python3 -m pytest --nbval-lax doc
- job: 'LinuxVanilla'
pool:
vmImage: ubuntu-16.04
Expand Down
Loading

0 comments on commit ecea752

Please sign in to comment.