Skip to content

Support compilation (Closes #24) #52

Support compilation (Closes #24)

Support compilation (Closes #24) #52

Workflow file for this run

name: Tests
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
jobs:
test:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
- name: Run tests
run: pytest -vvrP test.py
- name: Run performance tests
if: contains(github.event.head_commit.message || github.event.pull_request.title || '', '[perf]')
run: python test_performance.py --repeats 1000 --time-limit 120