Skip to content

Performance improvments #15

Performance improvments

Performance improvments #15

Workflow file for this run

name: prym-ci-build
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
run-tests:
strategy:
matrix:
python-version: ["3.10", "3.12"]
extras: ["", "[perf]"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install package with pip
run: |
pip install -e .${{ matrix.extras }}
- name: Install test dependencies
run: |
pip install pytest pytest-httpserver
- name: Run serial tests
run: pytest -v tests/
lint-code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install black
run: pip install black
- name: Check code with black
run: black --check .