Skip to content

Bump numpy from 1.25.0 to 1.25.1 #241

Bump numpy from 1.25.0 to 1.25.1

Bump numpy from 1.25.0 to 1.25.1 #241

Workflow file for this run

name: Python tests
on: [pull_request]
jobs:
min_build:
name: Run Code Checks and Tests with Minimum Dependencies
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install .[plot]
pip install .[test]
- name: Run linting check with pylint
run: |
pylint --rcfile .pylintrc ./anastruct
- name: Run formatting checks with black
run: |
black --check .
- name: Run type checks with mypy
run: |
mypy -p anastruct
- name: Run FEM tests with pytest
run: |
python -m pytest --pspec tests/
build:
name: Run FEM Testing Suite with Most Recent Dependencies
runs-on: ubuntu-latest
strategy:
max-parallel: 3
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install .[dev]
pip install .[test]
- name: Run FEM tests with pytest
run: |
python -m pytest --pspec tests/