Skip to content

Bump urllib3 from 2.0.3 to 2.0.7 #69

Bump urllib3 from 2.0.3 to 2.0.7

Bump urllib3 from 2.0.3 to 2.0.7 #69

Workflow file for this run

name: Test & Lint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11]
poetry-version: [1.5.1]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install Poetry
uses: abatilo/[email protected]
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Cache Poetry virtualenv
uses: actions/cache@v1
id: cache
with:
path: ~/.virtualenvs
key: poetry-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
poetry-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Set Poetry config
run: |
poetry config virtualenvs.in-project false
poetry config virtualenvs.path ~/.virtualenvs
- name: Install Dependencies
run: poetry install
- name: Lint with flake8
run: "poetry run flake8 ."
- name: Check Formatting with Black
run: "poetry run black . --check"
- name: Static type-check with MyPy
run: "poetry run mypy iambic"
- name: Test with pytest
run: "poetry run pytest tests --cov --cov-report xml"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests,${{ matrix.python-version }}
name: codecov-umbrella
fail_ci_if_error: false