Skip to content

Bump types-python-dateutil from 2.9.0.20240906 to 2.9.0.20241003 #2619

Bump types-python-dateutil from 2.9.0.20240906 to 2.9.0.20241003

Bump types-python-dateutil from 2.9.0.20240906 to 2.9.0.20241003 #2619

Workflow file for this run

name: Run mypy and pytest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- 'main'
- 'release/*'
- 'version1.0'
tags:
- 'v*'
pull_request:
merge_group:
branches: ['main']
jobs:
pytestmypy:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12"]
exclude:
- os: windows-latest
python-version: "3.11"
- os: windows-latest
python-version: "3.12"
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/[email protected]
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: |
pyproject.toml
requirements.txt
- name: upgrade pip setuptools wheel
run: python -m pip install --upgrade pip setuptools wheel
shell: bash
- name: install broadbean with test dependencies
run: |
pip install .[test] -c requirements.txt
- name: Run Mypy
run: mypy src
- name: Run tests
run: |
pytest --cov=broadbean --cov-report xml --hypothesis-profile ci tests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
with:
file: ./coverage.xml
env_vars: OS,PYTHON
token: ${{ secrets.CODECOV_TOKEN }}