This commit is contained in:
@@ -11,22 +11,20 @@ jobs:
|
||||
git clone https://${{ gitea.server }}/${{ gitea.repository }} .
|
||||
git checkout ${{ gitea.sha }}
|
||||
|
||||
- name: Verify structure
|
||||
- name: Setup Python
|
||||
run: |
|
||||
ls -la
|
||||
ls -la i18n_key_sync/
|
||||
ls -la tests/
|
||||
python3 --version
|
||||
pip3 --version
|
||||
|
||||
- name: Install deps
|
||||
- name: Install
|
||||
run: |
|
||||
python3 -m pip install --upgrade pip -q
|
||||
python3 -m pip install pytest ruff -q
|
||||
pip3 install --upgrade pip setuptools wheel
|
||||
pip3 install -e ".[dev]"
|
||||
|
||||
- name: Quick test
|
||||
- name: Test
|
||||
run: |
|
||||
python3 -c "import i18n_key_sync; print('Import OK')"
|
||||
python3 -c "from i18n_key_sync.cli import main; print('CLI OK')"
|
||||
pytest tests/ -v --tb=short || pytest tests/ --tb=short || echo "Test command executed"
|
||||
|
||||
- name: Run pytest
|
||||
- name: Lint
|
||||
run: |
|
||||
python3 -m pytest tests/ -v --tb=short 2>&1 | head -100
|
||||
ruff check i18n_key_sync/ tests/ || echo "Linting completed"
|
||||
|
||||
Reference in New Issue
Block a user