Skip to content

Commit

Permalink
[reorg] move modules into folder (#213)
Browse files Browse the repository at this point in the history
* [reorg] move modules into folder
* [CI] running tests
  • Loading branch information
mohd-afeef-badri authored Jan 15, 2025
1 parent aa2b0a7 commit 162f483
Show file tree
Hide file tree
Showing 256 changed files with 123 additions and 98 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/acoustics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ on:
push:
branches: [ main ]
paths:
- acoustics/**
- modules/acoustics/**
pull_request:
branches: [ main ]
paths:
- acoustics/**
- modules/acoustics/**
workflow_dispatch:

env:
MODULE_DIR: 'acoustics'
MODULE_DIR: 'modules/acoustics'

MODULE: 'acoustics'

# CTest
CT_OPTS: "--timeout 300 --output-on-failure"
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:
shell: bash
run: |
mkdir -p ${{ env.CT_RESULT_DIR }}
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE }}\]'
- name: Upload test artifact
uses: actions/upload-artifact@v4
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/aerodynamics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ on:
push:
branches: [ main ]
paths:
- aerodynamics/**
- modules/aerodynamics/**
pull_request:
branches: [ main ]
paths:
- aerodynamics/**
- modules/aerodynamics/**
workflow_dispatch:

env:
MODULE_DIR: 'aerodynamics'
MODULE_DIR: 'modules/aerodynamics'

MODULE: 'aerodynamics'

# CTest
CT_OPTS: "--timeout 300 --output-on-failure"
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:
shell: bash
run: |
mkdir -p ${{ env.CT_RESULT_DIR }}
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE }}\]'
- name: Upload test artifact
uses: actions/upload-artifact@v4
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/bilaplacian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ on:
push:
branches: [ main ]
paths:
- bilaplacian/**
- modules/bilaplacian/**
pull_request:
branches: [ main ]
paths:
- bilaplacian/**
- modules/bilaplacian/**
workflow_dispatch:

env:
MODULE_DIR: 'bilaplacian'
MODULE_DIR: 'modules/bilaplacian'

MODULE: 'bilaplacian'

# CTest
CT_OPTS: "--timeout 300 --output-on-failure"
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:
shell: bash
run: |
mkdir -p ${{ env.CT_RESULT_DIR }}
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE }}\]'
- name: Upload test artifact
uses: actions/upload-artifact@v4
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/elasticity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ on:
push:
branches: [ main ]
paths:
- elasticity/**
- modules/elasticity/**
pull_request:
branches: [ main ]
paths:
- elasticity/**
- modules/elasticity/**
workflow_dispatch:

env:
MODULE_DIR: 'elasticity'
MODULE_DIR: 'modules/elasticity'

MODULE: 'elasticity'

# CTest
CT_OPTS: "--timeout 300 --output-on-failure"
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:
shell: bash
run: |
mkdir -p ${{ env.CT_RESULT_DIR }}
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE }}\]'
- name: Upload test artifact
uses: actions/upload-artifact@v4
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/elastodynamics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ on:
push:
branches: [ main ]
paths:
- elastodynamics/**
- modules/elastodynamics/**
pull_request:
branches: [ main ]
paths:
- elastodynamics/**
- modules/elastodynamics/**
workflow_dispatch:

env:
MODULE_DIR: 'elastodynamics'
MODULE_DIR: 'modules/elastodynamics'

MODULE: 'elastodynamics'

# CTest
CT_OPTS: "--timeout 300 --output-on-failure"
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:
shell: bash
run: |
mkdir -p ${{ env.CT_RESULT_DIR }}
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE }}\]'
- name: Upload test artifact
uses: actions/upload-artifact@v4
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/electrostatics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ on:
push:
branches: [ main ]
paths:
- electrostatics/**
- modules/electrostatics/**
pull_request:
branches: [ main ]
paths:
- electrostatics/**
- modules/electrostatics/**
workflow_dispatch:

env:
MODULE_DIR: 'electrostatics'
MODULE_DIR: 'modules/electrostatics'

MODULE: 'electrostatics'

# CTest
CT_OPTS: "--timeout 300 --output-on-failure"
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:
shell: bash
run: |
mkdir -p ${{ env.CT_RESULT_DIR }}
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE }}\]'
- name: Upload test artifact
uses: actions/upload-artifact@v4
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/fourier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ on:
push:
branches: [ main ]
paths:
- fourier/**
- modules/fourier/**
pull_request:
branches: [ main ]
paths:
- fourier/**
- modules/fourier/**
workflow_dispatch:

env:
MODULE_DIR: 'fourier'
MODULE_DIR: 'modules/fourier'

MODULE: 'fourier'

# CTest
CT_OPTS: "--timeout 300 --output-on-failure"
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:
shell: bash
run: |
mkdir -p ${{ env.CT_RESULT_DIR }}
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE }}\]'
- name: Upload test artifact
uses: actions/upload-artifact@v4
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/heat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ on:
push:
branches: [ main ]
paths:
- heat/**
- modules/heat/**
pull_request:
branches: [ main ]
paths:
- heat/**
- modules/heat/**
workflow_dispatch:

env:
MODULE_DIR: 'heat'
MODULE_DIR: 'modules/heat'

MODULE: 'heat'

# CTest
CT_OPTS: "--timeout 300 --output-on-failure"
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:
shell: bash
run: |
mkdir -p ${{ env.CT_RESULT_DIR }}
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE }}\]'
- name: Upload test artifact
uses: actions/upload-artifact@v4
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/laplace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ on:
push:
branches: [ main ]
paths:
- laplace/**
- modules/laplace/**
pull_request:
branches: [ main ]
paths:
- laplace/**
- modules/laplace/**
workflow_dispatch:

env:
MODULE_DIR: 'laplace'
MODULE_DIR: 'modules/laplace'

MODULE: 'laplace'

# CTest
CT_OPTS: "--timeout 300 --output-on-failure"
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:
shell: bash
run: |
mkdir -p ${{ env.CT_RESULT_DIR }}
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE }}\]'
- name: Upload test artifact
uses: actions/upload-artifact@v4
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/passmo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ on:
push:
branches: [ main ]
paths:
- passmo/**
- modules/passmo/**
pull_request:
branches: [ main ]
paths:
- passmo/**
- modules/passmo/**
workflow_dispatch:

env:
MODULE_DIR: 'passmo'
MODULE_DIR: 'modules/passmo'

MODULE: 'passmo'

# CTest
CT_OPTS: "--timeout 300 --output-on-failure"
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:
shell: bash
run: |
mkdir -p ${{ env.CT_RESULT_DIR }}
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE }}\]'
- name: Upload test artifact
uses: actions/upload-artifact@v4
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/poisson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ on:
push:
branches: [ main ]
paths:
- poisson/**
- modules/poisson/**
pull_request:
branches: [ main ]
paths:
- poisson/**
- modules/poisson/**
workflow_dispatch:

env:
MODULE_DIR: 'poisson'
MODULE_DIR: 'modules/poisson'

MODULE: 'poisson'

# CTest
CT_OPTS: "--timeout 300 --output-on-failure"
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:
shell: bash
run: |
mkdir -p ${{ env.CT_RESULT_DIR }}
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE }}\]'
- name: Upload test artifact
uses: actions/upload-artifact@v4
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/soildynamics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ on:
push:
branches: [ main ]
paths:
- soildynamics/**
- modules/soildynamics/**
pull_request:
branches: [ main ]
paths:
- soildynamics/**
- modules/soildynamics/**
workflow_dispatch:

env:
MODULE_DIR: 'soildynamics'
MODULE_DIR: 'modules/soildynamics'

MODULE: 'soildynamics'

# CTest
CT_OPTS: "--timeout 300 --output-on-failure"
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:
shell: bash
run: |
mkdir -p ${{ env.CT_RESULT_DIR }}
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE }}\]'
- name: Upload test artifact
uses: actions/upload-artifact@v4
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/testlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ on:
push:
branches: [ main ]
paths:
- testlab/**
- modules/testlab/**
pull_request:
branches: [ main ]
paths:
- testlab/**
- modules/testlab/**
workflow_dispatch:

env:
MODULE_DIR: 'testlab'
MODULE_DIR: 'modules/testlab'

MODULE: 'testlab'

# CTest
CT_OPTS: "--timeout 300 --output-on-failure"
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:
shell: bash
run: |
mkdir -p ${{ env.CT_RESULT_DIR }}
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE }}\]'
- name: Upload test artifact
uses: actions/upload-artifact@v4
Expand Down
Loading

0 comments on commit 162f483

Please sign in to comment.