Skip to content

Remove benchmark related tests since they can't be run in pypy #462

Remove benchmark related tests since they can't be run in pypy

Remove benchmark related tests since they can't be run in pypy #462

Workflow file for this run

name: build and test
on:
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', 'pypy-3.8', 'pypy-3.10']
os: [ macos-latest, ubuntu-latest ]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Create a virtual environment
run: git submodule init && git submodule update && python3 -m venv ./venv && . venv/bin/activate
- run: pip install --upgrade setuptools
- run: pip install -r requirements.txt
- run: pip install -e .
# Run our tests, but do not run the benchmark tests since they pull in libraries that do not have pypy support.
- run: py.test --ignore tests/test_benchmark_cli.py --ignore tests/test_benchmark_spec.py
test-windows:
runs-on: windows-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', 'pypy-3.8', 'pypy-3.10']
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Create a virtual environment
run: git submodule init && git submodule update && python3 -m venv ./venv && . venv/Scripts/activate
- run: pip install --upgrade setuptools
- run: pip install -r requirements.txt
- run: pip install -e .
# Run our tests, but do not run the benchmark tests since they pull in libraries that do not have pypy support.
- run: py.test --ignore tests/test_benchmark_cli.py --ignore tests/test_benchmark_spec.py