Skip to content

Commit a37d584

Browse files
committed
Not creating db by hand
1 parent 7dfbaca commit a37d584

File tree

4 files changed

+0
-22
lines changed

4 files changed

+0
-22
lines changed

.github/workflows/test-integrations-databases.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ jobs:
5959
- name: Setup Test Env
6060
run: |
6161
pip install coverage tox
62-
psql postgresql://postgres:sentry@localhost:5432 -c "create database ${SENTRY_PYTHON_TEST_POSTGRES_NAME};" || true
63-
psql postgresql://postgres:sentry@localhost:5432 -c "grant all privileges on database ${SENTRY_PYTHON_TEST_POSTGRES_NAME} to ${SENTRY_PYTHON_TEST_POSTGRES_USER};" || true
6462
- name: Erase coverage
6563
run: |
6664
coverage erase
@@ -137,8 +135,6 @@ jobs:
137135
- name: Setup Test Env
138136
run: |
139137
pip install coverage tox
140-
psql postgresql://postgres:sentry@localhost:5432 -c "create database ${SENTRY_PYTHON_TEST_POSTGRES_NAME};" || true
141-
psql postgresql://postgres:sentry@localhost:5432 -c "grant all privileges on database ${SENTRY_PYTHON_TEST_POSTGRES_NAME} to ${SENTRY_PYTHON_TEST_POSTGRES_USER};" || true
142138
- name: Erase coverage
143139
run: |
144140
coverage erase

.github/workflows/test-integrations-web-frameworks-1.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ jobs:
5858
- name: Setup Test Env
5959
run: |
6060
pip install coverage tox
61-
psql postgresql://postgres:sentry@localhost:5432 -c "create database ${SENTRY_PYTHON_TEST_POSTGRES_NAME};" || true
62-
psql postgresql://postgres:sentry@localhost:5432 -c "grant all privileges on database ${SENTRY_PYTHON_TEST_POSTGRES_NAME} to ${SENTRY_PYTHON_TEST_POSTGRES_USER};" || true
6361
- name: Erase coverage
6462
run: |
6563
coverage erase
@@ -127,8 +125,6 @@ jobs:
127125
- name: Setup Test Env
128126
run: |
129127
pip install coverage tox
130-
psql postgresql://postgres:sentry@localhost:5432 -c "create database ${SENTRY_PYTHON_TEST_POSTGRES_NAME};" || true
131-
psql postgresql://postgres:sentry@localhost:5432 -c "grant all privileges on database ${SENTRY_PYTHON_TEST_POSTGRES_NAME} to ${SENTRY_PYTHON_TEST_POSTGRES_USER};" || true
132128
- name: Erase coverage
133129
run: |
134130
coverage erase

scripts/split-tox-gh-actions/templates/test_group.jinja

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@
5656
- name: Setup Test Env
5757
run: |
5858
pip install coverage tox
59-
{% if needs_postgres %}
60-
psql postgresql://postgres:sentry@localhost:5432 -c "create database ${SENTRY_PYTHON_TEST_POSTGRES_NAME};" || true
61-
psql postgresql://postgres:sentry@localhost:5432 -c "grant all privileges on database ${SENTRY_PYTHON_TEST_POSTGRES_NAME} to ${SENTRY_PYTHON_TEST_POSTGRES_USER};" || true
62-
{% endif %}
6359

6460
- name: Erase coverage
6561
run: |

tests/integrations/conftest.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,3 @@ def capture_event_scope(self, event, hint=None, scope=None):
2929
return errors
3030

3131
return inner
32-
33-
34-
@pytest.fixture(scope='session')
35-
def django_db_setup():
36-
print("Setting up Django database #################################################")
37-
# settings.DATABASES['default'] = {
38-
# 'ENGINE': 'django.db.backends.mysql',
39-
# 'HOST': 'db.example.com',
40-
# 'NAME': 'external_db',
41-
# }

0 commit comments

Comments
 (0)