Add feature to print result parts to console #207
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: Testing | |
on: | |
push: | |
branches: | |
- main | |
# for "synchronize", see [1] | |
pull_request: | |
types: [opened, reopened, synchronize, ready_for_review] | |
jobs: | |
pytest: | |
name: Pytest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
cache: 'pipenv' | |
- name: Install pipenv | |
run: pip install pipenv | |
- name: Install dependencies (including dev dependencies) | |
run: pipenv install --dev | |
- name: Install ResultWizard itself (as editable) | |
run: pipenv run pip3 install --editable . | |
- name: Run Pytest | |
run: pipenv run pytest tests/ | |
# [1] https://github.com/orgs/community/discussions/26366 |