Skip to content

Fix urllib3 mocking to conform to current API #114

Fix urllib3 mocking to conform to current API

Fix urllib3 mocking to conform to current API #114

Workflow file for this run

name: Run tox
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
build:
name: "Project tests via tox"
services:
postgres:
image: postgres
env:
POSTGRES_USER: django_app
POSTGRES_PASSWORD: django_app
ports:
- 5432:5432
runs-on: ubuntu-20.04
strategy:
matrix:
python: [3.5, 3.6, 3.8, "3.10"]
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
sudo apt update
cat dependencies.txt | xargs sudo apt install -y
python -m pip install --upgrade pip
pip install 'tox<4' 'tox-gh-actions<3'
- name: Start redis
run: sudo systemctl start redis-server
- name: Setup tox, dependencies, and run tests
run: make github-tox