mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-04-25 11:42:54 +03:00
Run tests against python 3.8
This commit is contained in:
parent
90d2e1fc57
commit
71cdeef7a3
@ -27,6 +27,30 @@ jobs:
|
|||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: reports
|
path: reports
|
||||||
|
|
||||||
|
test-python38:
|
||||||
|
docker:
|
||||||
|
- image: python:3.8-alpine
|
||||||
|
- image: postgres:11.0
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: 'localizedfields'
|
||||||
|
POSTGRES_USER: 'localizedfields'
|
||||||
|
POSTGRES_PASSWORD: 'localizedfields'
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: Install packages
|
||||||
|
command: apk add postgresql-libs gcc musl-dev postgresql-dev git
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Install Python packages
|
||||||
|
command: pip install -r requirements/test.txt
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Run tests
|
||||||
|
command: tox -e 'py38-dj{20,21,22}'
|
||||||
|
environment:
|
||||||
|
DATABASE_URL: 'postgres://localizedfields:localizedfields@localhost:5432/localizedfields'
|
||||||
|
|
||||||
analysis:
|
analysis:
|
||||||
docker:
|
docker:
|
||||||
- image: python:3.7-alpine
|
- image: python:3.7-alpine
|
||||||
|
Loading…
x
Reference in New Issue
Block a user