diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 2725caf..ccbf474 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -29,14 +29,20 @@ jobs: python-version: ${{ matrix.python-version }} - name: Build run: | - python -m pip install setuptools wheel nose mpi4py numpy cython build + python -m pip install setuptools wheel nose mpi4py numpy cython build runtests python -m build + - name: Install + run: | + python -m pip install dist/pfft-python*.whl - name: Unit tests run: | - pip install runtests python ./runtests.py --mpirun="mpirun -np 4" + - name: Roundtrips + run: | mpirun -n 1 python $PWD/scripts/pfft-roundtrip-matrix.py -v -diag -Nproc 1 1 -Nmesh 13 15 16 mpirun -n 2 python $PWD/scripts/pfft-roundtrip-matrix.py -v -diag -Nproc 2 1 -Nproc 1 2 -Nmesh 13 15 16 mpirun -n 4 python $PWD/scripts/pfft-roundtrip-matrix.py -v -diag -Nproc 2 2 -Nmesh 13 15 16 mpirun -n 4 python $PWD/scripts/pfft-roundtrip-matrix.py -v -diag -Nproc 2 2 -Nmesh 13 15 + - name: Version + run: | bash check_tag.sh pfft/version.py