Skip to content

Bump urllib3 from 1.25.11 to 1.26.19 #100

Bump urllib3 from 1.25.11 to 1.26.19

Bump urllib3 from 1.25.11 to 1.26.19 #100

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres_password_CI
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
mysql:
image: mysql:latest
ports:
- 3306:3306
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
# MYSQL_USER: gha_user
MYSQL_ROOT_PASSWORD: root
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Set fr locale
run: |
sudo locale-gen fr_FR.UTF-8
sudo update-locale LANG=fr_FR.UTF-8
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install -e .[test]
# - name: Lint with flake8
# run: |
# flake8
- name: Test with pytest
run: |
python setup.py test
- name: Coverage
run: |
coverage run --source=piecash setup.py test
- name: Upload coverage data to coveralls.io
run: |
python -m pip install coveralls==3.3.1
coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}