Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/check-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ jobs:
python --version
python -m pip install --upgrade pip
python -m pip install --upgrade build
pip install .
pip install .[test]
pip install .[versioning]
doit version
pip install .
python -m build
pip install .[test]

# https://github.com/marketplace/actions/pytest-coverage-comment
- name: Generate coverage report
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/generate-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ jobs:
python --version
python -m pip install --upgrade pip
python -m pip install --upgrade build
pip install .
pip install .[test]
pip install .[versioning]
doit version
pip install .
python -m build
pip install .[test]

- name: Run license check
run: python bin/license-checker.py
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,11 @@ jobs:
python --version
python -m pip install --upgrade pip
python -m pip install --upgrade build
pip install .
pip install .[package]
pip install .[versioning]
doit version
pip install .
python -m build
pip install .[package]

- name: Package with pyinstaller for ${{matrix.TARGET}}
run: ${{matrix.CMD_BUILD}}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ jobs:
python --version
python -m pip install --upgrade pip
python -m pip install --upgrade build
pip install .
pip install .[package]
pip install .[versioning]
doit version
pip install .
python -m build

- name: Publish distribution 📦 to Test PyPI
if: ${{ inputs.is_draft }}
uses: pypa/gh-action-pypi-publish@release/v1 # license BSD-2
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/run-e2-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ jobs:
python --version
python -m pip install --upgrade pip
python -m pip install --upgrade build
pip install .
pip install .[test]
pip install .[versioning]
doit version
pip install .
python -m build
pip install .[test]

- name: Run e2e tests
run: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.10', '3.11', '3.12', '3.13']

runs-on: ${{ matrix.os }}

Expand All @@ -32,10 +32,11 @@ jobs:
python --version
python -m pip install --upgrade pip
python -m pip install --upgrade build
pip install .
pip install .[test]
pip install .[versioning]
doit version
pip install .
python -m build
pip install .[test]

- name: Test with pytest
run: pytest
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,15 @@ test = [
"types-appdirs",
"types-mock",
"types-requests",
"types-setuptools",
# these last three are required for the versioning step
"types-setuptools"
]
localize = ["doit", "ftfy"]
package = ["doit", "pyinstaller==5.13"]
versioning = [
"doit",
"pyinstaller_versionfile",
"setuptools_scm"
]
localize = ["doit", "ftfy"]
package = ["doit", "pyinstaller==5.13"]
[project.urls]
repository = "https://github.com/tableau/tabcmd"
[project.scripts]
Expand Down