Skip to content

Bump requests from 2.32.2 to 2.32.3 #338

Bump requests from 2.32.2 to 2.32.3

Bump requests from 2.32.2 to 2.32.3 #338

Workflow file for this run

name: Tests
on:
pull_request:
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Load cached Poetry installation
id: cached-poetry
uses: actions/cache@v4
with:
path: ~/.local
key: poetry-0
- name: Load cached env
id: cached-env
uses: actions/cache@v4
with:
path: /home/runner/.cache/pypoetry/virtualenvs
key: venv-0
- name: Install Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Run tests for PR
env:
PYTHONDONTWRITEBYTECODE: 1
run: |
poetry install
poetry run pytest --cov-config=.coveragerc --cov=.
poetry run coverage xml
- name: Get Cover
if: github.event_name == 'pull_request'
uses: orgoro/[email protected]
with:
coverageFile: coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}
thresholdAll: 0.98
- name: Run tests
if: github.event_name != 'pull_request'
run: |
poetry run coverage report