Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxHalford committed Oct 22, 2023
1 parent 6426136 commit fa2ec3d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ jobs:

- name: Download datasets
run: |
python -c "from river import datasets; datasets.CreditCard().download(); datasets.Elec2().download(); datasets.SMSSpam().download()"
python -c "from river import bandit; bandit.datasets.NewsArticles().download()"
poetry run python -c "from river import datasets; datasets.CreditCard().download(); datasets.Elec2().download(); datasets.SMSSpam().download()"
poetry run python -c "from river import bandit; bandit.datasets.NewsArticles().download()"
- name: pytest [Branch]
if: github.event_name == 'pull_request'
run: |
pytest --durations=10 -n logical # Run pytest on all logical CPU cores
poetry run pytest --durations=10 -n logical # Run pytest on all logical CPU cores
- name: pytest [Main]
if: github.event_name == 'push'
run: |
pytest -m "not datasets" --durations=10 -n logical # Run pytest on all logical CPU cores
poetry run pytest -m "not datasets" --durations=10 -n logical # Run pytest on all logical CPU cores
2 changes: 1 addition & 1 deletion poetry.lock

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

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ script = "build.py"

[tool.poetry.dependencies]
python = ">=3.9,<3.13"
numpy = "^1.21"
scipy = "^1.8.1"
pandas = "^2.1"

Expand Down

0 comments on commit fa2ec3d

Please sign in to comment.