This repository has been archived by the owner on Aug 8, 2024. It is now read-only.
🤖️ MAIN: (deps): Bump mako from 1.2.4 to 1.3.5 #426
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: pytester-cov workflow | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
COVERAGE_SINGLE: 60 | |
COVERAGE_TOTAL: 60 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Update pip | |
run: python -m pip install --upgrade pip | |
- name: Install Poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
export PATH=$HOME/.poetry/bin:$PATH | |
- name: Install dependencies | |
run: | | |
poetry export --without-hashes --dev --format requirements.txt --output requirements.txt | |
pip3 install -r requirements.txt | |
- name: Build coverage file | |
run: | | |
pytest --cache-clear --cov . > pytest-coverage.txt | |
- name: pytest-coverage-commentator | |
uses: coroo/pytest-coverage-commentator@v1.0.2 | |
with: | |
pytest-coverage: pytest-coverage.txt |