Skip to content

Commit

Permalink
Test with python 3.11 too (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-iskw authored Feb 13, 2023
1 parent 42d3c9f commit 860f130
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
File renamed without changes.
9 changes: 5 additions & 4 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)))
)

0 comments on commit 860f130

Please sign in to comment.