Skip to content

Add workflow_dispatch to publish package CI #210

Add workflow_dispatch to publish package CI

Add workflow_dispatch to publish package CI #210

name: Test package
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test_package:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@master
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@master
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_ci.txt
- name: Test with ruff
run: |
ruff check .
ruff format --diff .
- name: Test with mypy
run: mypy -m aiohttp_retry
- name: Test with pytest
env:
PYTHONPATH: .
run: pytest