This repository has been archived by the owner on Aug 8, 2024. It is now read-only.
🤖️ GH Actions (deps): Bump sigstore/cosign-installer from 204a51a57a74d190b284a0ce69b44bc37201f343 to e1523de7571e31dbe865fd2e80c5c7c23ae71eb4 #337
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 |