Skip to content

Commit

Permalink
Merge 57cd387 into da7a5c9
Browse files Browse the repository at this point in the history
  • Loading branch information
elacuesta authored Feb 3, 2023
2 parents da7a5c9 + 57cd387 commit 793264c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion shub/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 793264c

Please sign in to comment.