Skip to content

Commit

Permalink
ci pipeline in development
Browse files Browse the repository at this point in the history
  • Loading branch information
niravshah241 committed Aug 1, 2024
1 parent 17ca322 commit f603218
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: MDFEniCSx CI|

on:
push:
branches:
- "**"
pull_request:
branches:
- "main"

jobs:
test:
runs-on: ubuntu-latest
container: dolfinx/dolfinx:v0.7.2
strategy:
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
python-version: "3.8"
- name: Test dolfinx
run: |
python3 -c "import ufl; print('ufl import success')"
mpiexec -n 3 python3 -c "import ufl; print('ufl import success')"
python3 -c "from mpi4py import MPI; print('MPI import success')"
mpiexec -n 3 python3 -c "from mpi4py import MPI; print('MPI import success')"
python3 -c "import dolfinx; print('dolfinx import success')"
mpiexec -n 3 python3 -c "import dolfinx; print(f'dolfinx version {dolfinx.__version__} import success')"
python3 -c "import gmsh; print(f'gmsh version {gmsh.__version__} import success')"
mpiexec -n 3 python3 -c "import gmsh; print(f'gmsh version {gmsh.__version__} import success')"

0 comments on commit f603218

Please sign in to comment.