name: CI on: push: branches: - main pull_request: branches: - main jobs: test: runs-on: ubuntu-latest steps: - name: Checkout code run: | git clone https://${{ gitea.server }}/${{ gitea.repository }} . git checkout ${{ gitea.sha }} - name: Set up Python run: | python3 -m pip install --upgrade pip - name: Install dependencies run: | python3 -m pip install -e ".[dev]" - name: Run tests run: | python3 -m pytest tests/ -v --tb=short - name: Run linting run: | python3 -m ruff check i18n_key_sync/ tests/