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 ea053fb commit 95fdf21
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,15 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.8"]
paths: [" ", "mdfenicsx", "mdfenicsx/mesh_data", "mdfenicsx/demo/*/*"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install flake8
uses: py-actions/flake8@v2
with:
max-line-length: "80"
- name: Flake8 lint
run: |
flake8 ./mdfenicsx/mesh_data/mesh.py
flake8 ./mdfenicsx/mesh_motion_classes.py
flake8 ./demo/0_fundamental_deformation/0_fundamentals.py
flake8 ./demo/0_fundamental_deformation/mesh_data/mesh.py
flake8 ./demo/*/*.py
flake8 ./demo/*/mesh_data/mesh.py
path: ${{ matrix.paths }}
- name: Test dolfinx
run: |
python3 --version
Expand All @@ -42,3 +36,12 @@ jobs:
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')"
#- name: Flake8 lint
#run: |
#flake8 ./mdfenicsx/mesh_data/mesh.py
#flake8 ./mdfenicsx/mesh_motion_classes.py
#flake8 ./demo/0_fundamental_deformation/0_fundamentals.py
#flake8 ./demo/0_fundamental_deformation/mesh_data/mesh.py
#flake8 ./demo/*/*.py
#flake8 ./demo/*/mesh_data/mesh.py

0 comments on commit 95fdf21

Please sign in to comment.