Skip to content

build(deps): update __meta__.py and pyproject.toml #272

build(deps): update __meta__.py and pyproject.toml

build(deps): update __meta__.py and pyproject.toml #272

Workflow file for this run

name: Tests
on:
push:
branches:
- master
- main
- dev
pull_request:
branches:
- master
- main
- dev
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.10', '3.11', '3.12', '3.13']
exclude:
- os: windows-latest
python-version: '3.13'
- os: macos-latest
python-version: '3.13'
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install dependencies
run: |
python -m pip install --upgrade pip maturin
pip install -e ".[dev]"
- name: Run tests
run: |
python -m pytest tests/ -v --ignore=tests/test_performance.py
- name: Check code coverage
run: |
python -m pytest tests/ --cov=fasthttp --cov-report=term-missing --cov-fail-under=50
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v6
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella