Skip to content

Merge branch 'Nek5000:master' into master #26

Merge branch 'Nek5000:master' into master

Merge branch 'Nek5000:master' into master #26

Workflow file for this run

name: CI
on:
# allows us to run workflows manually
workflow_dispatch:
pull_request:
branches:
- master
push:
branches:
- master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MPICH_FC: gfortran
jobs:
main:
runs-on: ubuntu-latest
strategy:
matrix:
test_case: [
"Tools",
"Axi::test_PnPn_Parallel",
"ConjHt::test_PnPn_Parallel",
"Eddy_EddyUv::test_PnPn_Parallel",
"Eddy_LegacySize::test_PnPn2_Parallel",
"Eddy_Neknek::test_PnPn2_Parallel",
"Eddy_Neknek::test_PnPn_Parallel",
"Eddy_Neknek_mv::test_PnPn2_Parallel",
"Eddy_Neknek_mv::test_PnPn_Parallel",
"Eddy_Rich::test_PnPn2_Parallel",
"Ethier::test_PnPn2_Parallel",
"Ethier::test_PnPn_Parallel",
"FsHydro::test_PnPn2_Parallel",
"InclDef::test_PnPn_Serial",
"IO_Test::test_PnPn2_Parallel",
"KovStokes::test_PnPn2_Parallel",
"KovStokes::test_PnPn_Parallel",
"LowMachTest::test_PnPn_Parallel",
"MvCylCvode::test_PnPn_Parallel",
"chan2d::test_PnPn_Parallel",
"eddy_mv::test_PnPn_Parallel",
"lpm_one::test_PnPn_Parallel",
"lpm_two::test_PnPn_Parallel",
"impsrc_scalar::test_PnPn_Parallel",
"bcid_test_3D::test_PnPn_Parallel",
"bcid_test_2D::test_PnPn_Serial"
]
include:
- test_case: "Tools"
mpi: no
fail-fast: false
name: "${{ matrix.test_case }}"
env:
TEST_CASE: ${{ matrix.test_case }}
MPI: "${{ matrix.mpi == 'no' && '0' || '1' }}"
FC: "${{ matrix.mpi == 'no' && 'gfortran' || 'mpif77' }}"
CC: "${{ matrix.mpi == 'no' && 'gcc' || 'mpicc' }}"
steps:
- uses: actions/checkout@v2
- name: apt dependencies
shell: bash
run: |
sudo apt -y update
sudo apt install -y gfortran mpich libmpich-dev python3-pytest
- name: test
shell: bash
run: |
pytest-3 -s -v short_tests/NekTests.py::$TEST_CASE