diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index b5e3f9aadf..77a8e9d821 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -3,10 +3,10 @@ name: package on: push: branches: - - '**' + - "**" pull_request: branches: - - '**' + - "**" jobs: test: @@ -16,10 +16,9 @@ jobs: fail-fast: false matrix: python-version: - - 3.6 - 3.7 - 3.8 -# - 3.9 + # - 3.9 os: - ubuntu-latest - macOS-latest @@ -51,7 +50,6 @@ jobs: - name: Codecov uses: codecov/codecov-action@v1 - test_with_optional: name: Python ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} (with optional dependencies) runs-on: ${{ matrix.os }} @@ -60,10 +58,9 @@ jobs: fail-fast: false matrix: python-version: - - 3.6 - 3.7 - 3.8 -# - 3.9 + # - 3.9 os: - ubuntu-latest - macOS-latest diff --git a/hub/auto/tests/test_image_classification.py b/hub/auto/tests/test_image_classification.py index a4e3d472d7..ae51c0da1a 100644 --- a/hub/auto/tests/test_image_classification.py +++ b/hub/auto/tests/test_image_classification.py @@ -74,6 +74,8 @@ def test_auto_multiple_dataset_parser(): "hub/auto/tests/dummy_data/image_classification/class_sample_multiple_folder" ) - assert tuple( + keys = tuple( multiple_image_parse(path_to_data, scheduler="single", workers=1).keys() - ) == ("train", "val") + ) + + assert keys == ("train", "val") or keys == ("val", "train") diff --git a/requirements-optional.txt b/requirements-optional.txt index a5fd7959f8..acc2ede88c 100644 --- a/requirements-optional.txt +++ b/requirements-optional.txt @@ -5,4 +5,3 @@ transformers>=3.5.1 dask[complete]>=2.30 tensorflow_datasets ray==1.3.0 -supervisely==6.1.64