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 19351d009d6b451ccfef9ebbb5e31495dd176d24 #411
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/pytest-coverage-commentator@v1.0.2 | |
with: | |
pytest-coverage: pytest-coverage.txt |