Skip to content

Commit

Permalink
Revert "Revert "fix docker workflow (#1526)""
Browse files Browse the repository at this point in the history
This reverts commit b03dddd.
  • Loading branch information
eddiebergman committed Jun 24, 2022
1 parent 59e60e1 commit c0061e0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
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

0 comments on commit c0061e0

Please sign in to comment.