Skip to content

Commit

Permalink
gh actions fail_fast
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-rinchin committed Aug 8, 2024
1 parent c80d5c4 commit bdefb9b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
||
( github.event_name == 'workflow_dispatch' ) && ( needs.pre-commit.result == 'success' )
strategy:
fail-fast: false
fail-fast: true
matrix:
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
Expand Down Expand Up @@ -77,10 +77,12 @@ jobs:
tox
win-mac-tests:
needs: linux-tests
needs: [linux-tests, pre-commit]
runs-on: ${{matrix.os}}
if: |
( github.event_name == 'schedule' ) && ( needs.pre-commit.result == 'success' )
strategy:
fail-fast: false
fail-fast: true
matrix:
os: [windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/test_automl/test_presets/test_tabularautoml_nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def test_fit_predict(self, sampled_app_train_test, sampled_app_roles, binary_tas
ho_score = roc_auc_score(test[target_name].values, ho_predictions.data[:, 0])

# checks
assert oof_score > 0.61
assert ho_score > 0.61
assert oof_score > 0.6
assert ho_score > 0.6

check_pickling(automl, ho_score, binary_task, test, target_name)

0 comments on commit bdefb9b

Please sign in to comment.