Skip to content

Add new cprofile options. #71

Add new cprofile options.

Add new cprofile options. #71

name: build
on: [push, pull_request, workflow_dispatch]
jobs:
test:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
include:
- name: 'check'
python: '3.11'
toxpython: 'python3.11'
tox_env: 'check'
os: 'ubuntu-latest'
- name: 'docs'
python: '3.11'
toxpython: 'python3.11'
tox_env: 'docs'
os: 'ubuntu-latest'
- name: 'py39-pytest83-nodist-cover (ubuntu)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39-pytest83-nodist-cover'
os: 'ubuntu-latest'
- name: 'py39-pytest83-nodist-cover (windows)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39-pytest83-nodist-cover'
os: 'windows-latest'
- name: 'py39-pytest83-nodist-cover (macos)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'arm64'
tox_env: 'py39-pytest83-nodist-cover'
os: 'macos-latest'
- name: 'py39-pytest83-nodist-nocov (ubuntu)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39-pytest83-nodist-nocov'
os: 'ubuntu-latest'
- name: 'py39-pytest83-nodist-nocov (windows)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39-pytest83-nodist-nocov'
os: 'windows-latest'
- name: 'py39-pytest83-nodist-nocov (macos)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'arm64'
tox_env: 'py39-pytest83-nodist-nocov'
os: 'macos-latest'
- name: 'py39-pytest83-xdist-cover (ubuntu)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39-pytest83-xdist-cover'
os: 'ubuntu-latest'
- name: 'py39-pytest83-xdist-cover (windows)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39-pytest83-xdist-cover'
os: 'windows-latest'
- name: 'py39-pytest83-xdist-cover (macos)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'arm64'
tox_env: 'py39-pytest83-xdist-cover'
os: 'macos-latest'
- name: 'py39-pytest83-xdist-nocov (ubuntu)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39-pytest83-xdist-nocov'
os: 'ubuntu-latest'
- name: 'py39-pytest83-xdist-nocov (windows)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39-pytest83-xdist-nocov'
os: 'windows-latest'
- name: 'py39-pytest83-xdist-nocov (macos)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'arm64'
tox_env: 'py39-pytest83-xdist-nocov'
os: 'macos-latest'
- name: 'py310-pytest83-nodist-cover (ubuntu)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310-pytest83-nodist-cover'
os: 'ubuntu-latest'
- name: 'py310-pytest83-nodist-cover (windows)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310-pytest83-nodist-cover'
os: 'windows-latest'
- name: 'py310-pytest83-nodist-cover (macos)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'arm64'
tox_env: 'py310-pytest83-nodist-cover'
os: 'macos-latest'
- name: 'py310-pytest83-nodist-nocov (ubuntu)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310-pytest83-nodist-nocov'
os: 'ubuntu-latest'
- name: 'py310-pytest83-nodist-nocov (windows)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310-pytest83-nodist-nocov'
os: 'windows-latest'
- name: 'py310-pytest83-nodist-nocov (macos)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'arm64'
tox_env: 'py310-pytest83-nodist-nocov'
os: 'macos-latest'
- name: 'py310-pytest83-xdist-cover (ubuntu)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310-pytest83-xdist-cover'
os: 'ubuntu-latest'
- name: 'py310-pytest83-xdist-cover (windows)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310-pytest83-xdist-cover'
os: 'windows-latest'
- name: 'py310-pytest83-xdist-cover (macos)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'arm64'
tox_env: 'py310-pytest83-xdist-cover'
os: 'macos-latest'
- name: 'py310-pytest83-xdist-nocov (ubuntu)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310-pytest83-xdist-nocov'
os: 'ubuntu-latest'
- name: 'py310-pytest83-xdist-nocov (windows)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310-pytest83-xdist-nocov'
os: 'windows-latest'
- name: 'py310-pytest83-xdist-nocov (macos)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'arm64'
tox_env: 'py310-pytest83-xdist-nocov'
os: 'macos-latest'
- name: 'py311-pytest83-nodist-cover (ubuntu)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311-pytest83-nodist-cover'
os: 'ubuntu-latest'
- name: 'py311-pytest83-nodist-cover (windows)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311-pytest83-nodist-cover'
os: 'windows-latest'
- name: 'py311-pytest83-nodist-cover (macos)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'arm64'
tox_env: 'py311-pytest83-nodist-cover'
os: 'macos-latest'
- name: 'py311-pytest83-nodist-nocov (ubuntu)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311-pytest83-nodist-nocov'
os: 'ubuntu-latest'
- name: 'py311-pytest83-nodist-nocov (windows)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311-pytest83-nodist-nocov'
os: 'windows-latest'
- name: 'py311-pytest83-nodist-nocov (macos)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'arm64'
tox_env: 'py311-pytest83-nodist-nocov'
os: 'macos-latest'
- name: 'py311-pytest83-xdist-cover (ubuntu)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311-pytest83-xdist-cover'
os: 'ubuntu-latest'
- name: 'py311-pytest83-xdist-cover (windows)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311-pytest83-xdist-cover'
os: 'windows-latest'
- name: 'py311-pytest83-xdist-cover (macos)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'arm64'
tox_env: 'py311-pytest83-xdist-cover'
os: 'macos-latest'
- name: 'py311-pytest83-xdist-nocov (ubuntu)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311-pytest83-xdist-nocov'
os: 'ubuntu-latest'
- name: 'py311-pytest83-xdist-nocov (windows)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311-pytest83-xdist-nocov'
os: 'windows-latest'
- name: 'py311-pytest83-xdist-nocov (macos)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'arm64'
tox_env: 'py311-pytest83-xdist-nocov'
os: 'macos-latest'
- name: 'py312-pytest83-nodist-cover (ubuntu)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312-pytest83-nodist-cover'
os: 'ubuntu-latest'
- name: 'py312-pytest83-nodist-cover (windows)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312-pytest83-nodist-cover'
os: 'windows-latest'
- name: 'py312-pytest83-nodist-cover (macos)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'arm64'
tox_env: 'py312-pytest83-nodist-cover'
os: 'macos-latest'
- name: 'py312-pytest83-nodist-nocov (ubuntu)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312-pytest83-nodist-nocov'
os: 'ubuntu-latest'
- name: 'py312-pytest83-nodist-nocov (windows)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312-pytest83-nodist-nocov'
os: 'windows-latest'
- name: 'py312-pytest83-nodist-nocov (macos)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'arm64'
tox_env: 'py312-pytest83-nodist-nocov'
os: 'macos-latest'
- name: 'py312-pytest83-xdist-cover (ubuntu)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312-pytest83-xdist-cover'
os: 'ubuntu-latest'
- name: 'py312-pytest83-xdist-cover (windows)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312-pytest83-xdist-cover'
os: 'windows-latest'
- name: 'py312-pytest83-xdist-cover (macos)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'arm64'
tox_env: 'py312-pytest83-xdist-cover'
os: 'macos-latest'
- name: 'py312-pytest83-xdist-nocov (ubuntu)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312-pytest83-xdist-nocov'
os: 'ubuntu-latest'
- name: 'py312-pytest83-xdist-nocov (windows)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312-pytest83-xdist-nocov'
os: 'windows-latest'
- name: 'py312-pytest83-xdist-nocov (macos)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'arm64'
tox_env: 'py312-pytest83-xdist-nocov'
os: 'macos-latest'
- name: 'pypy37-pytest83-nodist-cover (ubuntu)'
python: 'pypy-3.7'
toxpython: 'pypy3.7'
python_arch: 'x64'
tox_env: 'pypy37-pytest83-nodist-cover'
os: 'ubuntu-latest'
- name: 'pypy37-pytest83-nodist-cover (windows)'
python: 'pypy-3.7'
toxpython: 'pypy3.7'
python_arch: 'x64'
tox_env: 'pypy37-pytest83-nodist-cover'
os: 'windows-latest'
- name: 'pypy37-pytest83-nodist-cover (macos)'
python: 'pypy-3.7'
toxpython: 'pypy3.7'
python_arch: 'arm64'
tox_env: 'pypy37-pytest83-nodist-cover'
os: 'macos-latest'
- name: 'pypy37-pytest83-nodist-nocov (ubuntu)'
python: 'pypy-3.7'
toxpython: 'pypy3.7'
python_arch: 'x64'
tox_env: 'pypy37-pytest83-nodist-nocov'
os: 'ubuntu-latest'
- name: 'pypy37-pytest83-nodist-nocov (windows)'
python: 'pypy-3.7'
toxpython: 'pypy3.7'
python_arch: 'x64'
tox_env: 'pypy37-pytest83-nodist-nocov'
os: 'windows-latest'
- name: 'pypy37-pytest83-nodist-nocov (macos)'
python: 'pypy-3.7'
toxpython: 'pypy3.7'
python_arch: 'arm64'
tox_env: 'pypy37-pytest83-nodist-nocov'
os: 'macos-latest'
- name: 'pypy37-pytest83-xdist-cover (ubuntu)'
python: 'pypy-3.7'
toxpython: 'pypy3.7'
python_arch: 'x64'
tox_env: 'pypy37-pytest83-xdist-cover'
os: 'ubuntu-latest'
- name: 'pypy37-pytest83-xdist-cover (windows)'
python: 'pypy-3.7'
toxpython: 'pypy3.7'
python_arch: 'x64'
tox_env: 'pypy37-pytest83-xdist-cover'
os: 'windows-latest'
- name: 'pypy37-pytest83-xdist-cover (macos)'
python: 'pypy-3.7'
toxpython: 'pypy3.7'
python_arch: 'arm64'
tox_env: 'pypy37-pytest83-xdist-cover'
os: 'macos-latest'
- name: 'pypy37-pytest83-xdist-nocov (ubuntu)'
python: 'pypy-3.7'
toxpython: 'pypy3.7'
python_arch: 'x64'
tox_env: 'pypy37-pytest83-xdist-nocov'
os: 'ubuntu-latest'
- name: 'pypy37-pytest83-xdist-nocov (windows)'
python: 'pypy-3.7'
toxpython: 'pypy3.7'
python_arch: 'x64'
tox_env: 'pypy37-pytest83-xdist-nocov'
os: 'windows-latest'
- name: 'pypy37-pytest83-xdist-nocov (macos)'
python: 'pypy-3.7'
toxpython: 'pypy3.7'
python_arch: 'arm64'
tox_env: 'pypy37-pytest83-xdist-nocov'
os: 'macos-latest'
- name: 'pypy39-pytest83-nodist-cover (ubuntu)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'x64'
tox_env: 'pypy39-pytest83-nodist-cover'
os: 'ubuntu-latest'
- name: 'pypy39-pytest83-nodist-cover (windows)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'x64'
tox_env: 'pypy39-pytest83-nodist-cover'
os: 'windows-latest'
- name: 'pypy39-pytest83-nodist-cover (macos)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'arm64'
tox_env: 'pypy39-pytest83-nodist-cover'
os: 'macos-latest'
- name: 'pypy39-pytest83-nodist-nocov (ubuntu)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'x64'
tox_env: 'pypy39-pytest83-nodist-nocov'
os: 'ubuntu-latest'
- name: 'pypy39-pytest83-nodist-nocov (windows)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'x64'
tox_env: 'pypy39-pytest83-nodist-nocov'
os: 'windows-latest'
- name: 'pypy39-pytest83-nodist-nocov (macos)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'arm64'
tox_env: 'pypy39-pytest83-nodist-nocov'
os: 'macos-latest'
- name: 'pypy39-pytest83-xdist-cover (ubuntu)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'x64'
tox_env: 'pypy39-pytest83-xdist-cover'
os: 'ubuntu-latest'
- name: 'pypy39-pytest83-xdist-cover (windows)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'x64'
tox_env: 'pypy39-pytest83-xdist-cover'
os: 'windows-latest'
- name: 'pypy39-pytest83-xdist-cover (macos)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'arm64'
tox_env: 'pypy39-pytest83-xdist-cover'
os: 'macos-latest'
- name: 'pypy39-pytest83-xdist-nocov (ubuntu)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'x64'
tox_env: 'pypy39-pytest83-xdist-nocov'
os: 'ubuntu-latest'
- name: 'pypy39-pytest83-xdist-nocov (windows)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'x64'
tox_env: 'pypy39-pytest83-xdist-nocov'
os: 'windows-latest'
- name: 'pypy39-pytest83-xdist-nocov (macos)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'arm64'
tox_env: 'pypy39-pytest83-xdist-nocov'
os: 'macos-latest'
- name: 'pypy310-pytest83-nodist-cover (ubuntu)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'x64'
tox_env: 'pypy310-pytest83-nodist-cover'
os: 'ubuntu-latest'
- name: 'pypy310-pytest83-nodist-cover (windows)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'x64'
tox_env: 'pypy310-pytest83-nodist-cover'
os: 'windows-latest'
- name: 'pypy310-pytest83-nodist-cover (macos)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'arm64'
tox_env: 'pypy310-pytest83-nodist-cover'
os: 'macos-latest'
- name: 'pypy310-pytest83-nodist-nocov (ubuntu)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'x64'
tox_env: 'pypy310-pytest83-nodist-nocov'
os: 'ubuntu-latest'
- name: 'pypy310-pytest83-nodist-nocov (windows)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'x64'
tox_env: 'pypy310-pytest83-nodist-nocov'
os: 'windows-latest'
- name: 'pypy310-pytest83-nodist-nocov (macos)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'arm64'
tox_env: 'pypy310-pytest83-nodist-nocov'
os: 'macos-latest'
- name: 'pypy310-pytest83-xdist-cover (ubuntu)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'x64'
tox_env: 'pypy310-pytest83-xdist-cover'
os: 'ubuntu-latest'
- name: 'pypy310-pytest83-xdist-cover (windows)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'x64'
tox_env: 'pypy310-pytest83-xdist-cover'
os: 'windows-latest'
- name: 'pypy310-pytest83-xdist-cover (macos)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'arm64'
tox_env: 'pypy310-pytest83-xdist-cover'
os: 'macos-latest'
- name: 'pypy310-pytest83-xdist-nocov (ubuntu)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'x64'
tox_env: 'pypy310-pytest83-xdist-nocov'
os: 'ubuntu-latest'
- name: 'pypy310-pytest83-xdist-nocov (windows)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'x64'
tox_env: 'pypy310-pytest83-xdist-nocov'
os: 'windows-latest'
- name: 'pypy310-pytest83-xdist-nocov (macos)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'arm64'
tox_env: 'pypy310-pytest83-xdist-nocov'
os: 'macos-latest'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.python_arch }}
- name: install dependencies
run: |
python -mpip install --progress-bar=off -r ci/requirements.txt
virtualenv --version
pip --version
tox --version
pip list --format=freeze
- name: test
env:
TOXPYTHON: '${{ matrix.toxpython }}'
run: >
tox -e ${{ matrix.tox_env }} -v
finish:
needs: test
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- uses: coverallsapp/github-action@v2
with:
parallel-finished: true
- uses: codecov/codecov-action@v3
with:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}