From 38a094baf7837cb9b7d465bb3a4f842c1ecec481 Mon Sep 17 00:00:00 2001 From: collerek Date: Sun, 4 Apr 2021 17:39:09 +0200 Subject: [PATCH] modify workflow --- .github/workflows/test-package.yml | 1 + tests/test_queries/test_nested_reverse_relations.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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)