This repository has been archived by the owner on Aug 8, 2024. It is now read-only.
🤖️ GH Actions (deps): Bump docker/setup-buildx-action from a946f06b5ddbde456d0115dc585e8dc3c7a0c3e0 to d70bba72b1f3fd22344832f00baa16ece964efeb #395
Workflow file for this run
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 |