Skip to content

Commit

Permalink
ci: Verify that httpstan does not break pystan
Browse files Browse the repository at this point in the history
Verify that httpstan does not break pystan by
importing pystan and sampling from a simple model.
  • Loading branch information
riddell-stan committed Oct 4, 2020
1 parent 4b2a682 commit 9714e3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ script:
- scripts/check || travis_terminate 1
- poetry build -v && python -m pip install dist/*.whl
- mkdir testdir && cd testdir && python -m pytest -s -v --cov=httpstan --cov-fail-under=93 ../tests
# verify that this version of httpstan does not break pystan
- |
pip install --pre pystan &&
python3 -c'import stan;assert stan.build("parameters {real y;} model {y ~ normal(0,1);}").sample()["y"] is not None'

0 comments on commit 9714e3f

Please sign in to comment.