Skip to content

property-tests

property-tests #59

name: property-tests
on:
workflow_run:
workflows: [linting-typechecking-doctests]
types: [completed]
jobs:
on-success:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11.0"
- run: sudo apt-get install bedtools
- run: pip install hypothesis pytest pytest-xdist
- run: pip install .
- run: pytest -sv -n 2 tests/property_based
env:
GITHUB_ACTIONS: true
on-failure:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- run: exit 1 # Fail the job