Bump cryptography from 39.0.1 to 43.0.1 #182
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
name: CodeCov | |
on: [push, pull_request] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
env: | |
OS: ubuntu-latest | |
PYTHON: '3.9' | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: | |
- 3.9 | |
services: | |
mysql: | |
image: mysql:5.7 | |
env: | |
MYSQL_ROOT_PASSWORD: mysql_password | |
MYSQL_DATABASE: mysql | |
ports: | |
- 3306:3306 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: '2' | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@master | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Generate Report | |
run: | | |
pip install -r requirements.txt | |
coverage run -m pytest | |
coverage xml | |
env: | |
DATABASE_ENGINE: django.db.backends.mysql | |
DATABASE_NAME: mysql | |
DATABASE_USER: root | |
DATABASE_PASSWORD: mysql_password | |
- name: Upload Coverage to Codecov | |
uses: codecov/codecov-action@v2 |