Skip to content

Commit

Permalink
#264 hacked the nox file [CodeBuild]
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsimb committed Oct 15, 2024
1 parent 9968b46 commit 19014ae
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,21 @@ def unit_tests(session):
def integration_tests(session):
# We need to use a external database here, because the itde plugin doesn't provide all necessary options to
# configure the database. See the start_database session.
session.run('pytest', '--setup-show', '-s', '--backend=onprem', '--itde-db-version=external',
'tests/integration_tests/with_db/deployment')
session.run('pytest', '--setup-show', '-s', '--backend=onprem', '--itde-db-version=external', 'tests/integration_tests/with_db/deployment')


@nox.session(python=False)
def saas_integration_tests(session):
# We need to use a external database here, because the itde plugin doesn't provide all necessary options to
# configure the database. See the start_database session.
session.run('pytest', '--setup-show', '-s', '--backend=saas', 'tests/integration_tests/with_db')
session.run('pytest', '--setup-show', '-s', 'tests/integration_tests/with_db/deployment')


@nox.session(python=False)
def onprem_integration_tests(session):
# We need to use a external database here, because the itde plugin doesn't provide all necessary options to
# configure the database. See the start_database session.
session.run('pytest', '--setup-show', '-s', '--backend=onprem', '--itde-db-version=external', 'tests/integration_tests/with_db')
session.run('pytest', '--setup-show', '-s', '--backend=onprem', '--itde-db-version=external', 'tests/integration_tests/with_db/deployment')


@nox.session(python=False)
Expand Down

0 comments on commit 19014ae

Please sign in to comment.