Skip to content

add a github action for benchmarking #144

add a github action for benchmarking

add a github action for benchmarking #144

Workflow file for this run

name: cf
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: '**/setup.py'
- name: Install dependencies
run: |
pip install -e '.[dev]'
- name: Run tests
run: |
pytest -m "not (singlegpu or multigpu)" --cov="crossfit"