Skip to content

Commit 793264c

Browse files
authored
Merge 57cd387 into da7a5c9
2 parents da7a5c9 + 57cd387 commit 793264c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/tests.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,28 @@ on:
1111
jobs:
1212
tests-ubuntu:
1313
name: "Test: py${{ matrix.python-version }}, Ubuntu"
14-
runs-on: ubuntu-latest
14+
runs-on: ${{ matrix.os }}
1515
strategy:
1616
fail-fast: false
1717
matrix:
1818
include:
1919
- python-version: '3.6'
20+
os: ubuntu-20.04
2021
tox-env: min
2122
- python-version: '3.6'
23+
os: ubuntu-20.04
2224
tox-env: py
2325
- python-version: '3.7'
26+
os: ubuntu-latest
2427
tox-env: py
2528
- python-version: '3.8'
29+
os: ubuntu-latest
2630
tox-env: py
2731
- python-version: '3.9'
32+
os: ubuntu-latest
2833
tox-env: py
2934
- python-version: '3.10'
35+
os: ubuntu-latest
3036
tox-env: py
3137

3238
steps:

shub/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def make_deploy_request(url, data, files, auth, verbose, keep_log):
130130
def _check_deploy_files_size(files):
131131
"""Ensure that request's files total size is less than current limit."""
132132
ctx = click.get_current_context(silent=True)
133-
if not isinstance(files, list) or ctx and ctx.params.get('ignore-size'):
133+
if not isinstance(files, list) or ctx and ctx.params.get('ignore_size'):
134134
return
135135
files_size = sum(
136136
len(fp) if isinstance(fp, string_types)

0 commit comments

Comments
 (0)