Updated Gitlab CI to use Python 3.8 instead of Python 3.7 (#2794)

This commit is contained in:
Arnav Choudhury 2020-09-07 17:58:49 +05:30 committed by GitHub
parent 4659cb9baa
commit 7fb71507d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -1463,4 +1463,4 @@ guidance and advice.
- Jannis Leidel
- Nate Aune
- Barry Morrison
- Barry Morrison

View File

@ -13,7 +13,7 @@ variables:
flake8:
stage: lint
image: python:3.7-alpine
image: python:3.8-alpine
before_script:
- pip install -q flake8
script:
@ -21,7 +21,7 @@ flake8:
pytest:
stage: test
image: python:3.7
image: python:3.8
{% if cookiecutter.use_docker == 'y' -%}
image: docker/compose:latest
tags:
@ -39,7 +39,7 @@ pytest:
tags:
- python
services:
- postgres:11
- postgres:{{ cookiecutter.postgresql_version }}
variables:
DATABASE_URL: pgsql://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres/$POSTGRES_DB