Update psycopg2-binary to 2.9.8 #74
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
name: Django CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: [3.7, 3.8] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pipenv codecov | |
pip install -q -r requirements.txt | |
pipenv sync --dev | |
- name: Lint with flake8 | |
run: | | |
pipenv run flake8 . | |
- name: Test with pytest | |
run: | | |
pytest test --cov=test | |
- name: Posting Coverage | |
env: | |
CODECOV_TOKEN: "db5e3e57-fd05-4b8f-966d-20b4aaeb1b2a" | |
run: | | |
pipenv run codecov |