Updated configuration logic in READMEs and YAMLs #155
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: Python Coverage Test | |
on: | |
- push | |
- pull_request | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt coverage | |
- name: Run tests with coverage | |
run: bash run_python_coverage_test.sh | |
- name: Generate and print coverage report | |
run: | | |
python -m coverage report --fail-under=80 |