Compatibility Numpy 1.26.0 #52
Workflow file for this run
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: 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 |