Bump numpy from 1.26.4 to 2.2.2 #203
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run pytest | |
on: | |
push: | |
paths: | |
- '**/*.py' # All Python files in any directory | |
- '**/requirements.txt' # Dependency file | |
- '**/setup.py' # Setup script | |
- '**/pyproject.toml' # Modern Python project configuration | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5.3.0 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
cd backend | |
python -m pip install --upgrade pip | |
pip install pytest pytest-mock | |
pip install -e . | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Test with pytest | |
run: | | |
pytest |