diff --git a/.github/workflows/test-publish.yml b/.github/workflows/test-publish.yml index ba42481..914b007 100644 --- a/.github/workflows/test-publish.yml +++ b/.github/workflows/test-publish.yml @@ -52,7 +52,7 @@ jobs: shell: bash strategy: matrix: - python-version: [ "3.7", "3.8", "3.9", "3.10" ] + python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ] steps: - name: Dump GitHub context env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 05319bf..acc11f5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] fail-fast: false defaults: diff --git a/pylintrc b/.pylintrc similarity index 100% rename from pylintrc rename to .pylintrc diff --git a/tests/test_utils.py b/tests/test_utils.py index 803c19b..673e217 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -13,13 +13,14 @@ # See the License for the specific language governing permissions and # limitations under the License. import os +import unittest from dbt_artifacts_parser.utils import get_project_root -class TestUtils: +class TestUtils(unittest.TestCase): def test_get_project_root(self): - assert ( - get_project_root() - == os.path.abspath(os.path.dirname(os.path.dirname(__file__))), + self.assertEqual( + get_project_root(), + os.path.abspath(os.path.dirname(os.path.dirname(__file__))) )