diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 00a1be1..4ffe0c5 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -14,6 +14,7 @@ jobs: tests: name: "Python ${{ matrix.python-version }}" runs-on: ubuntu-latest + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'collerek/ormar' strategy: matrix: python-version: [3.6, 3.7, 3.8, 3.9] diff --git a/tests/test_queries/test_nested_reverse_relations.py b/tests/test_queries/test_nested_reverse_relations.py index 32c2cde..4c87b92 100644 --- a/tests/test_queries/test_nested_reverse_relations.py +++ b/tests/test_queries/test_nested_reverse_relations.py @@ -26,7 +26,7 @@ class DataSource(ormar.Model): class DataSourceTable(ormar.Model): class Meta(BaseMeta): - tablename = "tables" + tablename = "source_tables" id: int = ormar.Integer(primary_key=True) name: str = ormar.String(max_length=200, index=True) @@ -37,7 +37,7 @@ class DataSourceTable(ormar.Model): class DataSourceTableColumn(ormar.Model): class Meta(BaseMeta): - tablename = "columns" + tablename = "source_columns" id: int = ormar.Integer(primary_key=True) name: str = ormar.String(max_length=200, index=True)