Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/windows_nightlies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Nightly unit tests, windows

on:
schedule:
- cron: '0 3 * * *'
- cron: '0 7 * * *'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was confused as to why the linux nightlies would pass and the windows ones would fail given that a fix was merged in #2808. It's because they ran at different times. I updated this to run at 3 am EST (note the github yaml expects UTC time).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yes, my half-asleep PR was merged in at 1am 😂


jobs:
win_unit_tests:
Expand Down
1 change: 1 addition & 0 deletions docs/source/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Release Notes
* Deleted ``EmptyDataChecks`` class :pr:`2794`
* Documentation Changes
* Testing Changes
* Updated matched assertion message regarding monotonic indices in polynomial detrender tests :pr:`2811`

.. warning::

Expand Down
6 changes: 2 additions & 4 deletions evalml/tests/component_tests/test_polynomial_detrender.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,10 @@ def test_polynomial_detrender_needs_monotonic_index(ts_data):
X, y = ts_data
detrender = PolynomialDetrender(degree=2)

with pytest.raises(
ValueError,
match="The \\(time\\) index of input must be sorted monotonically increasing",
):
with pytest.raises(ValueError) as exec_info:
y_shuffled = y.sample(frac=1, replace=False)
detrender.fit_transform(X, y_shuffled)
assert "monotonically" in str(exec_info.value)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOL word. 👍


with pytest.raises(
NotImplementedError,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ category_encoders==2.2.2
statsmodels==0.12.2
imbalanced-learn==0.8.0
pmdarima==1.8.0
sktime==0.8.0
sktime==0.7.0