This repository has been archived by the owner on Aug 8, 2024. It is now read-only.
🤖️ MAIN: (deps): Bump sqlalchemy from 2.0.12 to 2.0.32 #423
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/[email protected] | |
with: | |
pytest-coverage: pytest-coverage.txt |