fix: minimal CI - only test and lint jobs
This commit is contained in:
@@ -50,35 +50,3 @@ jobs:
|
|||||||
- name: Run linter
|
- name: Run linter
|
||||||
run: |
|
run: |
|
||||||
ruff check gitignore_generator/ tests/
|
ruff check gitignore_generator/ tests/
|
||||||
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: "3.12"
|
|
||||||
|
|
||||||
- name: Install build dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip install build
|
|
||||||
|
|
||||||
- name: Build package
|
|
||||||
run: |
|
|
||||||
python -m build
|
|
||||||
|
|
||||||
- name: List wheel contents
|
|
||||||
run: |
|
|
||||||
unzip -l dist/*.whl | head -50
|
|
||||||
|
|
||||||
- name: Verify built package
|
|
||||||
run: |
|
|
||||||
pip install dist/*.whl
|
|
||||||
python -c "import gitignore_generator"
|
|
||||||
python -c "from gitignore_generator.template_loader import template_loader"
|
|
||||||
python -c "from gitignore_generator.cli import main"
|
|
||||||
python -c "print('All imports successful')"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user