fix: simplify CI workflow for reliability
Some checks failed
CI / test (push) Failing after 4m45s
CI / build (push) Has been skipped

This commit is contained in:
2026-01-31 02:26:50 +00:00
parent 086d3e6e0f
commit bb0fb4c8cf

View File

@@ -19,22 +19,10 @@ jobs:
cache: 'pip' cache: 'pip'
- name: Install dependencies - name: Install dependencies
run: | run: python -m pip install --upgrade pip pytest
python -m pip install --upgrade pip
pip install pytest
- name: Run tests - name: Run tests
run: python -m pytest tests/test_cli_commands.py tests/test_encryption.py tests/test_profile.py tests/test_template.py tests/test_validator.py -v --tb=short run: python -m pytest tests/test_cli_commands.py tests/test_encryption.py tests/test_profile.py tests/test_template.py tests/test_validator.py -v
- name: Run type checks
run: |
pip install mypy
mypy env_pro/ --ignore-missing-imports || true
- name: Check code formatting
run: |
pip install black
black --check env_pro/ || true
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -47,14 +35,8 @@ jobs:
with: with:
python-version: '3.11' python-version: '3.11'
- name: Install build dependencies
run: pip install build
- name: Build package - name: Build package
run: python -m build run: pip install build && python -m build
- name: Install package
run: pip install dist/*.whl
- name: Verify package - name: Verify package
run: python -m env_pro.cli --help run: pip install dist/*.whl && python -m env_pro.cli --help