Skip to content

Bump requests from 2.31.0 to 2.32.0 #103

Bump requests from 2.31.0 to 2.32.0

Bump requests from 2.31.0 to 2.32.0 #103

Workflow file for this run

name: Python application
on: [pull_request]
jobs:
build:
name: tests-pass
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
env:
# This token is provided by Actions,
# you do not need to create your own token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
coverage run -m pytest tests
coverage xml -o coverage/python.xml
- name: Report python coverage
uses: orgoro/coverage@v3
with:
coverageFile: coverage/python.xml
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run linting
run: |
pre-commit run --all-files