Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed Mar 28, 2024
1 parent 9b983f3 commit 48aab7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
max-parallel: 5

env:
GITHUB_ACTIONS_CI: true
steps:
- uses: actions/checkout@v2
- name: Set up Miniconda
Expand Down
5 changes: 4 additions & 1 deletion mlxtend/evaluate/tests/test_bias_variance_decomp.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@ def test_mse_bagging():
APPVEYOR = False


@pytest.mark.skipif(TRAVIS or APPVEYOR, reason="TensorFlow dependency")
GITHUB_ACTIONS = os.getenv('GITHUB_ACTIONS_CI', 'false').lower() == 'true'


@pytest.mark.skipif(TRAVIS or APPVEYOR or GITHUB_ACTIONS, reason="TensorFlow dependency")
def test_keras():
import tensorflow as tf

Expand Down

0 comments on commit 48aab7d

Please sign in to comment.