-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Stefan
committed
Jun 7, 2021
1 parent
bcd890b
commit 723cd46
Showing
51 changed files
with
4,594 additions
and
2,708 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
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", | ||
"CmtInviscidVortex::test_PnPn_Parallel", | ||
"ConjHt::test_PnPn_Parallel", | ||
"Eddy_EddyUv::test_PnPn_Parallel", | ||
"Eddy_EddyUv::test_PnPn_Serial", | ||
"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_Parallel", | ||
"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" | ||
] | ||
include: | ||
- test_case: "Tools" | ||
mpi: no | ||
- test_case: "Eddy_EddyUv::test_PnPn_Serial" | ||
mpi: no | ||
- test_case: "InclDef::test_PnPn_Parallel" | ||
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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,5 @@ bin/pretex | |
bin/prex | ||
bin/re2torea | ||
bin/reatore2 | ||
|
||
__pycache__ |
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
Oops, something went wrong.