Skip to content

Commit

Permalink
fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
alex lukens committed Feb 13, 2024
1 parent 0c9b82b commit 242c94b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ 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
run: |
poetry install --with dev
- name: Test with pytest
run: |
pytest tests/
poetry run pytest tests/ -x -vv --junitxml=junit/test-results.xml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ ivdm_metric.fit(X[:100], y[:100])
predictions = ivdm_metric.predict(X[100:])


```
```
10 changes: 4 additions & 6 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 242c94b

Please sign in to comment.