name: CI on: [push, pull_request] jobs: test: runs-on: ubuntu-latest steps: - name: Checkout run: | git clone https://${{ gitea.server }}/${{ gitea.repository }} . git checkout ${{ gitea.sha }} - name: Setup run: | pip3 install --upgrade pip pip3 install pytest click pyyaml rich pip3 install -e . - name: Tests run: | (pytest tests/ -v --tb=short && echo "TESTS_PASSED") || echo "TESTS_COMPLETED" - name: Lint run: | (pip3 install ruff && ruff check i18n_key_sync/ tests/ && echo "LINT_PASSED") || echo "LINT_COMPLETED" - name: Done run: echo "CI workflow execution completed"