Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 29 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,39 @@ on:
workflow_dispatch:
push:
branches: [development]
paths-ignore:
- '**.rst'
- 'Docs/**'
- 'Source/Utility/**/*.py'
pull_request:
branches: [development]
paths-ignore:
- '**.rst'
- 'Docs/**'
- 'Source/Utility/**/*.py'

concurrency:
group: ${{github.ref}}-${{github.head_ref}}-ci
cancel-in-progress: true

jobs:
Detect-Changes:
runs-on: ubuntu-latest
outputs:
has-source-changes: ${{ steps.changes.outputs.src }}
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
src:
- '**'
- '!**/*.rst'
- '!Docs/**'
- '!Source/Utility/**/*.py'
- '!README.md'
- '!CONTRIBUTING.md'
- '!.codespell*'
- '!.gitignore'

Formatting:
needs: Detect-Changes
if: needs['Detect-Changes'].outputs['has-source-changes'] == 'true'
runs-on: ubuntu-24.04
steps:
- name: Clone
Expand All @@ -34,7 +50,7 @@ jobs:
clangFormatVersion: 20

Codespell:
needs: Formatting
needs: Detect-Changes
runs-on: ubuntu-24.04
steps:
- name: Clone
Expand All @@ -54,6 +70,8 @@ jobs:
run: codespell

CEPTR:
needs: Detect-Changes
if: needs['Detect-Changes'].outputs['has-source-changes'] == 'true'
runs-on: ubuntu-24.04
strategy:
fail-fast: false
Expand Down Expand Up @@ -88,7 +106,8 @@ jobs:
run: poetry run convert -f ${{github.workspace}}/Mechanisms/LiDryer/mechanism.yaml

Transport-EOS-Reactions:
needs: Formatting
needs: Detect-Changes
if: needs['Detect-Changes'].outputs['has-source-changes'] == 'true'
runs-on: ubuntu-24.04
strategy:
matrix:
Expand Down
34 changes: 26 additions & 8 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,39 @@ on:
workflow_dispatch:
push:
branches: [development]
paths-ignore:
- '**.rst'
- 'Docs/**'
- 'Source/Utility/**/*.py'
pull_request:
branches: [development]
paths-ignore:
- '**.rst'
- 'Docs/**'
- 'Source/Utility/**/*.py'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
Detect-Changes:
runs-on: ubuntu-latest
outputs:
has-source-changes: ${{ steps.changes.outputs.src }}
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
src:
- '**'
- '!**/*.rst'
- '!Docs/**'
- '!Source/Utility/**/*.py'
- '!README.md'
- '!CONTRIBUTING.md'
- '!.codespell*'
- '!.gitignore'

PeleLMeX-FlameSheet:
needs: Detect-Changes
if: needs['Detect-Changes'].outputs['has-source-changes'] == 'true'
name: PeleLMeX GNU MPI Run [FlameSheet]
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -67,6 +83,8 @@ jobs:
mpirun -n 2 ./PeleLMeX2d.gnu.MPI.drm19.ex input.2d-regt amr.max_step=2 amr.plot_int=-1 amr.check_int=-1 amrex.abort_on_unused_inputs=1 amr.n_cell=32 64

PeleC-PMF:
needs: Detect-Changes
if: needs['Detect-Changes'].outputs['has-source-changes'] == 'true'
name: PeleC GNU MPI Run [PMF]
runs-on: ubuntu-latest
env:
Expand Down
Loading