Skip to content

Compatibility Numpy 1.26.0 #52

Compatibility Numpy 1.26.0

Compatibility Numpy 1.26.0 #52

Workflow file for this run

name: CI-linux
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11"]
steps:
- name: apt install
run: |
sudo apt install -y libfftw3-dev libfftw3-mpi-dev \
libhdf5-openmpi-dev openmpi-bin libopenmpi-dev \
libopenblas-dev
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: "requirements/test.txt"
- name: Verify Python environment
run: |
pip list
pip cache list
pip check
- name: Install dependencies
run: |
python -m pip install --upgrade pip nox
- name: Run tests
run: |
cp .github/fluidfft-site.cfg $HOME/.fluidfft-site.cfg
nox --session tests-cov -- -v --cov-report=xml
nox --session tests-full
- name: Upload coverage to codecov
if: ${{ success() }}
uses: codecov/codecov-action@v3