Update update_raw_po_from_csv.py #666
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: | |
| - "3.10" | |
| - "3.11" | |
| - "3.12" | |
| - "3.13" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv | |
| run: pipx install uv | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Lint with ruff | |
| run: | | |
| uv run ruff check . --statistics | |
| - name: Check with mypy | |
| run: | | |
| uv run mypy . --strict | |
| - name: Test with pytest | |
| run: | | |
| uv run pytest --cov=./ | |
| - name: Upload coverage data to coveralls.io | |
| continue-on-error: true | |
| run: | | |
| pip install coveralls | |
| coveralls --service=github | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |