improve doc #379
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
| name: Run Pytest in probtest | |
| on: [push] | |
| jobs: | |
| probtest-pytest: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.10.8 | |
| - name: Install Poetry | |
| run: | | |
| curl -sSL https://install.python-poetry.org | python3 - | |
| - name: Configure Poetry to use the right Python version | |
| run: | | |
| poetry env use python3.10 | |
| - name: Install dependencies with Poetry | |
| run: | | |
| poetry install --without=dev | |
| - name: Run Pytest with coverage | |
| env: | |
| TZ: Europe/Zurich | |
| run: | | |
| poetry run pytest -v -s --cov --cov-report=term tests/ |