Skip to content

fix docker workflow #1526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 23, 2022
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ htmlcov
.coverage
.tox

# Pytest cache
.pytest_cache

# pycharm
.idea

Expand Down
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ ADD . /auto-sklearn/

# Upgrade pip then install dependencies
RUN pip3 install --upgrade pip
RUN pip3 install pytest>=4.6.* pep8 codecov pytest-cov flake8 openml
RUN cat /auto-sklearn/requirements.txt | xargs -n 1 -L 1 pip3 install
RUN pip3 install jupyter

# Install
RUN pip3 install /auto-sklearn/
RUN pip3 install "/auto-sklearn[test, examples]"
11 changes: 11 additions & 0 deletions test/test_scripts/test_metadata_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@

import unittest

# Abstracted to here to make changing them easier
# seems to be quite fidely with github actions
# Recommended to set a minimum of 60
timeouts = {
1: 60, # create commands
2: 180, # generate metadata
3: 60, # get performance of configurations
4: 90, # Calculate metafeatures
5: 60, # Create aslib files
}


class TestMetadataGeneration(unittest.TestCase):
def setUp(self):
Expand Down