Skip to content

Commit 75a2226

Browse files
authored
Merge branch 'development' into main
2 parents f308791 + 9b36f21 commit 75a2226

8 files changed

Lines changed: 24 additions & 17 deletions

File tree

.github/workflows/check-coverage.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ jobs:
3030
python --version
3131
python -m pip install --upgrade pip
3232
python -m pip install --upgrade build
33-
pip install .
34-
pip install .[test]
33+
pip install .[versioning]
3534
doit version
35+
pip install .
3636
python -m build
37+
pip install .[test]
3738
3839
# https://github.com/marketplace/actions/pytest-coverage-comment
3940
- name: Generate coverage report

.github/workflows/generate-metadata.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ jobs:
2323
python --version
2424
python -m pip install --upgrade pip
2525
python -m pip install --upgrade build
26-
pip install .
27-
pip install .[test]
26+
pip install .[versioning]
2827
doit version
28+
pip install .
2929
python -m build
30+
pip install .[test]
3031
3132
- name: Run license check
3233
run: python bin/license-checker.py

.github/workflows/package.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,11 @@ jobs:
7171
python --version
7272
python -m pip install --upgrade pip
7373
python -m pip install --upgrade build
74-
pip install .
75-
pip install .[package]
74+
pip install .[versioning]
7675
doit version
76+
pip install .
7777
python -m build
78+
pip install .[package]
7879
7980
- name: Package with pyinstaller for ${{matrix.TARGET}}
8081
run: ${{matrix.CMD_BUILD}}

.github/workflows/publish-pypi.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ jobs:
2626
python --version
2727
python -m pip install --upgrade pip
2828
python -m pip install --upgrade build
29-
pip install .
30-
pip install .[package]
29+
pip install .[versioning]
3130
doit version
31+
pip install .
3232
python -m build
33+
3334
- name: Publish distribution 📦 to Test PyPI
3435
if: ${{ inputs.is_draft }}
3536
uses: pypa/gh-action-pypi-publish@release/v1 # license BSD-2

.github/workflows/run-e2-tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@ jobs:
3535
python --version
3636
python -m pip install --upgrade pip
3737
python -m pip install --upgrade build
38-
pip install .
39-
pip install .[test]
38+
pip install .[versioning]
4039
doit version
40+
pip install .
4141
python -m build
42+
pip install .[test]
4243
4344
- name: Run e2e tests
4445
run: |

.github/workflows/run-tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ jobs:
3232
python --version
3333
python -m pip install --upgrade pip
3434
python -m pip install --upgrade build
35-
pip install .
36-
pip install .[test]
35+
pip install .[versioning]
3736
doit version
37+
pip install .
3838
python -m build
39+
pip install .[test]
3940
4041
- name: Test with pytest
4142
run: pytest

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Tableau Supported](https://img.shields.io/badge/Support%20Level-Tableau%20Supported-53bd92.svg)](https://www.tableau.com/support-levels-it-and-developer-tools)
44

5-
[![Code coverage]([https://coveralls.io/repos/tableau/tabcmd/badge.png])(https://github.com/tableau/tabcmd/actions)
5+
[![Coverage Status](https://coveralls.io/repos/github/tableau/tabcmd/badge.svg)](https://coveralls.io/github/tableau/tabcmd)
66
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
77
[![Python tests](https://github.com/tableau/tabcmd/actions/workflows/run-tests.yml/badge.svg)](https://github.com/tableau/tabcmd/actions/workflows/run-tests.yml)
88
[![Pypi smoke tests](https://github.com/tableau/tabcmd/actions/workflows/python-app.yml/badge.svg)](https://github.com/tableau/tabcmd/actions/workflows/python-app.yml)

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,15 @@ test = [
6262
"types-appdirs",
6363
"types-mock",
6464
"types-requests",
65-
"types-setuptools",
66-
# these last three are required for the versioning step
65+
"types-setuptools"
66+
]
67+
localize = ["doit", "ftfy"]
68+
package = ["doit", "pyinstaller==5.13"]
69+
versioning = [
6770
"doit",
6871
"pyinstaller_versionfile",
6972
"setuptools_scm"
7073
]
71-
localize = ["doit", "ftfy"]
72-
package = ["doit", "pyinstaller==5.13"]
7374
[project.urls]
7475
repository = "https://github.com/tableau/tabcmd"
7576
[project.scripts]

0 commit comments

Comments
 (0)