Skip to content

Tox not passing environment variables #28

@4word

Description

@4word

Tests are failing in Travis because somehow, in the "passenv" section of the tox config, a leading dash is in front of the section name. Not sure how it snuck in, but it shouldn't be there and I believe its causing the tests to not test postgres or mysql specific code, since the default is sqlite if the environment variables are not found. It currently reads:

[testenv]
-passenv=
  DATABASE_URL
  SHARD_001_DATABASE_URL
  SHARD_002_DATABASE_URL
  REPLICA_001_DATABASE_URL
  REPLICA_002_DATABASE_URL
  TRAVIS

It should read

[testenv]
passenv=
  DATABASE_URL
  SHARD_001_DATABASE_URL
  SHARD_002_DATABASE_URL
  REPLICA_001_DATABASE_URL
  REPLICA_002_DATABASE_URL
  TRAVIS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions