Skip to content

Implement a 'take' option. #79

Implement a 'take' option.

Implement a 'take' option. #79

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel setuptools
# Temporary fix for indirect dependency PyYAML build error
pip install "cython<3.0.0" && pip install pyyaml==5.4.1 --no-build-isolation
pip install -r requirements_test.txt
- name: Test with pytest
env:
PYTHONPATH: "src"
run: |
python -m pytest tests/