diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 7e8df83..1214058 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -20,12 +20,12 @@ jobs: steps: - uses: actions/checkout@v3 + with: + submodules: true - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - - name: Checkout submodules - uses: textbook/git-checkout-submodule-action@2.1.1 - name: Setup Poetry uses: Gr1N/setup-poetry@v8 - name: Poetry dev dependencies install @@ -33,4 +33,4 @@ jobs: poetry install --with dev - name: Test with pytest run: | - pytest tests/ + poetry run pytest tests/ -x -vv --junitxml=junit/test-results.xml diff --git a/README.md b/README.md index bf9ff42..fadff28 100644 --- a/README.md +++ b/README.md @@ -20,4 +20,4 @@ ivdm_metric.fit(X[:100], y[:100]) predictions = ivdm_metric.predict(X[100:]) -``` \ No newline at end of file +``` diff --git a/poetry.lock b/poetry.lock index d0f590a..f71f07b 100644 --- a/poetry.lock +++ b/poetry.lock @@ -392,19 +392,17 @@ description = "Use Value Difference Metric to find distance between categorical optional = false python-versions = "*" files = [] -develop = false +develop = true [package.dependencies] numpy = "*" pandas = "*" [package.source] -type = "git" -url = "git@github.com:alexdlukens/vdm3.git" -reference = "develop" -resolved_reference = "429f72a1efcae7c6ca73406972ff6452da18b0e4" +type = "directory" +url = "third_party/vdm3" [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "4bf641e958e7564fb1e03879137b6203c45fcede8cc62148c91f0af415c86b69" +content-hash = "379d05ac4183a1eeddabfa50943848e10253221ef026ad9cbc8c131513889972" diff --git a/pyproject.toml b/pyproject.toml index 4f6b2c0..8c1d485 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ readme = "README.md" [tool.poetry.dependencies] python = "^3.10" scikit-learn = "^1.4.0" -vdm3 = {git = "git@github.com:alexdlukens/vdm3.git", rev = "develop"} +vdm3 = { path = "./third_party/vdm3", develop = true } [tool.poetry.group.dev.dependencies] pytest = "^8.0.0"