update CI versions #178
This file contains 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: CI | |
on: | |
push: | |
branches: ["*"] | |
pull_request: | |
branches: ["*"] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
platform: [ubuntu-latest, windows-latest] | |
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"] | |
exclude: | |
[ | |
{ platform: windows-latest, python-version: "3.10" }, | |
{ platform: windows-latest, python-version: "3.11" }, | |
{ platform: windows-latest, python-version: "3.12" }, | |
] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install packages | |
run: | | |
python -m pip install --upgrade pip wheel | |
pip install '.[testing]' | |
- name: Run mypy | |
run: | | |
mypy --install-types --non-interactive ./google_takeout_parser ./tests | |
- name: Run pytest | |
run: | | |
pytest | |
- name: Run flake8 | |
run: | | |
flake8 ./google_takeout_parser ./tests |