Bump urllib3 from 1.26.16 to 1.26.17 #697
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
########[CI PIPELINE FLOW]######## | |
# Run pre-commit: # | |
# | failure ~> stop. # | |
# | pass: # | |
# Run tests: # | |
# | failure ~> stop. # | |
# | pass: # | |
# Upload coverage. # | |
################################## | |
# Requiered Github secrets: # | |
# - CODECOV_TOKEN # | |
################################## | |
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
pre-commit: | |
name: Pre-commit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- uses: pre-commit/[email protected] | |
test: | |
name: Test | |
needs: pre-commit | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, windows-latest, macos-latest] | |
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install poetry | |
python -m poetry install --no-root | |
- name: Test with pytest by poetry | |
run: | | |
python -m poetry run pytest tests/ .github/ -vv --cov=./ --cov-report=xml | |
- name: Upload coverage to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
name: ${{ matrix.os }}, ${{ matrix.python-version }} |