Update test_prior_simulation.py #146
This file contains 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
name: Tests | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: "3.11" | |
- name: Install poetry | |
run: python -m pip install poetry | |
- name: Install pytest | |
run: pip install pytest pytest-cov | |
- name: Install dependencies | |
run: pip install . | |
- name: Run Tests | |
run: poetry run pytest --cov=elicit tests --cov-report html | |
- name: Run Coverage | |
run: | | |
poetry run coverage run --source=./elicit -m pytest | |
poetry run coverage report | |
poetry run coverage xml | |
genbadge coverage |