You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python -m pip install coverage black mypy pytest types-pytz types-requests
33
-
if [ -f pyproject.toml ]; then poetry run pip install 'setuptools==57.5.0'; poetry install --no-root; fi
33
+
if [ -f pyproject.toml ]; then poetry config installer.modern-installation false; poetry run pip install 'setuptools==57.5.0'; poetry install --no-root; fi
34
34
- name: Lint with black and static type check with mypy
35
35
run: |
36
36
# stop the build if there are Python syntax errors or undefined names
37
37
black .
38
-
mypy dialogy --install-types
38
+
mypy dialogy --install-types --non-interactive
39
39
- name: Test with pytest and get Coverage
40
40
run: |
41
41
poetry run pytest --cov=dialogy --cov-report=xml tests/
Copy file name to clipboardExpand all lines: .github/workflows/tag_publish.yml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ jobs:
10
10
strategy:
11
11
fail-fast: false
12
12
matrix:
13
-
python-version: [3.8, 3.9, '3.10']
13
+
python-version: [3.9, '3.10']
14
14
15
15
steps:
16
16
- uses: actions/checkout@v2
@@ -28,12 +28,12 @@ jobs:
28
28
- name: Install dependencies
29
29
run: |
30
30
python -m pip install coverage black mypy pytest types-pytz types-requests
31
-
if [ -f pyproject.toml ]; then poetry run pip install 'setuptools==57.5.0'; poetry install --no-root; fi
31
+
if [ -f pyproject.toml ]; then poetry config installer.modern-installation false; poetry run pip install 'setuptools==57.5.0'; poetry install --no-root; fi
32
32
- name: Lint with black and static type check with mypy
33
33
run: |
34
34
# stop the build if there are Python syntax errors or undefined names
35
35
black .
36
-
mypy dialogy --install-types
36
+
mypy dialogy --install-types --non-interactive
37
37
- name: Test with pytest and get Coverage
38
38
run: |
39
39
poetry run pytest --cov=dialogy --cov-report=xml tests/
0 commit comments