Skip to content

Test for crash

Test for crash #1

Workflow file for this run

name: tests
on:
pull_request:
branches:
- hauptzweig
jobs:
run_tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
# Use "eager" update strategy in case cached dependencies are outdated
# Using regular install NOT editable install: see GH #3020
pip install --upgrade --upgrade-strategy eager torch scikit-learn pytest
- name: Test with pytest
# Ensure we avoid adding current working directory to sys.path:
# - Use "pytest" over "python -m pytest"
# - Use "append" import mode rather than default "prepend"
run: >
pytest bug-121101.py