fix: add package-data to include templates and verify in CI
This commit is contained in:
@@ -71,7 +71,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m build
|
python -m build
|
||||||
|
|
||||||
|
- name: Verify wheel contents
|
||||||
|
run: |
|
||||||
|
unzip -l dist/*.whl | grep templates
|
||||||
|
|
||||||
- name: Verify installation
|
- name: Verify installation
|
||||||
run: |
|
run: |
|
||||||
pip install dist/gitignore_generator-1.0.0-py3-none-any.whl
|
pip install dist/*.whl
|
||||||
python -c "import gitignore_generator; print('Package imported successfully')"
|
python -c "import gitignore_generator; print('Package imported successfully')"
|
||||||
|
python -c "from gitignore_generator.template_loader import template_loader; print('Template loader imported successfully')"
|
||||||
|
python -c "from gitignore_generator.cli import main; print('CLI imported successfully')"
|
||||||
|
|||||||
Reference in New Issue
Block a user