Skip to content

Bump mypy from 1.11.2 to 1.13.0 #804

Bump mypy from 1.11.2 to 1.13.0

Bump mypy from 1.11.2 to 1.13.0 #804

Workflow file for this run

name: Actions
on:
pull_request:
branches:
- main
push:
branches:
- main
concurrency:
group: '${{ github.workflow }}-${{ github.ref }}'
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: πŸ“₯ Checkout the repository
uses: actions/[email protected]
- name: πŸ›  Set up Python 3
uses: actions/[email protected]
id: python
with:
python-version: "3.11"
- name: πŸ“¦ Install dependencies
run: make requirements
- name: πŸ–€ Lint with Black
run: make black-check
- name: πŸ”€ Lint with isort
run: make isort-check
test:
name: Test with Python ${{ matrix.python.version }}
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
python:
- version: "3.8"
- version: "3.9"
- version: "3.10"
- version: "3.11"
- version: "3.12"
steps:
- name: πŸ“₯ Checkout the repository
uses: actions/[email protected]
with:
fetch-depth: 0
- name: πŸ› οΈ Set up Python ${{ matrix.python.version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python.version }}
allow-prereleases: ${{ matrix.python.prereleases || false }}
- name: πŸ“¦ Install dependencies
run: make requirements
- name: πŸƒ Run tests
run: make test
- name: πŸ›  Build
run: make build
coverage:
name: Coverage
needs: test
runs-on: ubuntu-latest
steps:
- name: πŸ“₯ Checkout the repository
uses: actions/[email protected]
with:
fetch-depth: 0
- name: πŸ›  Set up Python 3.10
uses: actions/[email protected]
id: python
with:
python-version: "3.10"
- name: πŸ“¦ Install dependencies
run: make requirements
- name: πŸ“€ Upload coverage to Codecov
run: |
make coverage
curl -sfSL https://codecov.io/bash | bash -