Skip to content

Fix replace_w_ones_except #41

Fix replace_w_ones_except

Fix replace_w_ones_except #41

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 pytest
pip install -r requirements.txt
- name: Run tests
run: pytest -v test.py
- name: Run performance tests
if: contains(github.event.head_commit.message, '[perf]')
run: python test_performance.py --repeats 1000 --time-limit 120