Commit 396970f5 authored by Nicolas Schmid's avatar Nicolas Schmid
Browse files

devops: remove environment

parent a7e43196
Pipeline #2367 passed with stages
in 6 minutes and 42 seconds
......@@ -38,7 +38,6 @@ py38-test-job:
extends: .test-rules
needs: ["flake8-job"]
image: python:3.8
environment: testing
variables:
POSTGRES_DB: $POSTGRES_DB
POSTGRES_USER: $POSTGRES_USER
......@@ -46,14 +45,15 @@ py38-test-job:
PGPORT: $POSTGRES_PORT
POSTGRES_HOST_AUTH_METHOD: trust
services:
- postgres:14.2
- postgres:latest
before_script:
- *add-ssh
- apt-get update
- apt-get install -y python3-dev build-essential postgresql-client
- cp $ENV .env
- export PGPASSWORD=$POSTGRES_PASSWORD
- psql -h postgres -U $POSTGRES_USER $POSTGRES_DB < test_db.sql >/dev/null
- cp $ENV .env
- pip install tox
script:
- tox -e py38-tests
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment