Skip to content

Bump joerick/cibuildwheel from 2.15.0 to 2.16.0 #181

Bump joerick/cibuildwheel from 2.15.0 to 2.16.0

Bump joerick/cibuildwheel from 2.15.0 to 2.16.0 #181

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Automated tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: ['ubuntu-latest', 'macOS-latest', 'windows-latest']
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Setup rust
run: |
rustup update
rustup component add cargo
- name: Install package
run: |
python -m pip install --upgrade pip
python -m pip install .[tests]
- name: Run tests
run: |
python -m pytest --cov=python/streamtracer --cov-report xml
- name: Upload coverage
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: false