From 35151873db93e0895e7a4a6362d9f89f701a338e Mon Sep 17 00:00:00 2001 From: Eugenio Lacuesta Date: Fri, 3 Feb 2023 11:28:32 -0300 Subject: [PATCH 1/2] Fix option name (ignore-size -> ignore_size) --- shub/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shub/utils.py b/shub/utils.py index 11665ec3..f3d4168d 100644 --- a/shub/utils.py +++ b/shub/utils.py @@ -130,7 +130,7 @@ def make_deploy_request(url, data, files, auth, verbose, keep_log): def _check_deploy_files_size(files): """Ensure that request's files total size is less than current limit.""" ctx = click.get_current_context(silent=True) - if not isinstance(files, list) or ctx and ctx.params.get('ignore-size'): + if not isinstance(files, list) or ctx and ctx.params.get('ignore_size'): return files_size = sum( len(fp) if isinstance(fp, string_types) From 57cd387c1078e2b238a334663747c002277c0ead Mon Sep 17 00:00:00 2001 From: Eugenio Lacuesta Date: Fri, 3 Feb 2023 11:40:57 -0300 Subject: [PATCH 2/2] CI: Downgrade ubuntu image for py36 tests --- .github/workflows/tests.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 426279d4..ddcede2c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,22 +11,28 @@ on: jobs: tests-ubuntu: name: "Test: py${{ matrix.python-version }}, Ubuntu" - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: include: - python-version: '3.6' + os: ubuntu-20.04 tox-env: min - python-version: '3.6' + os: ubuntu-20.04 tox-env: py - python-version: '3.7' + os: ubuntu-latest tox-env: py - python-version: '3.8' + os: ubuntu-latest tox-env: py - python-version: '3.9' + os: ubuntu-latest tox-env: py - python-version: '3.10' + os: ubuntu-latest tox-env: py steps: