Skip to content

Bump urllib3 from 1.26.15 to 1.26.18 #249

Bump urllib3 from 1.26.15 to 1.26.18

Bump urllib3 from 1.26.15 to 1.26.18 #249

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Cache python modules
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install -r requirements.txt
python -m pip install flake8 pytest pytest-cov
python -m pip install wheel
python setup.py bdist_wheel
python -m pip install dist/rankingbot-*.whl
- name: Lint
run: flake8 -v
- name: Test
run: pytest --cov-report=xml --cov=./
env:
BOT_TEST: '1'
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3