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 7873ac6 commit c4b0839
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,26 @@ jobs:
container: dolfinx/dolfinx:v0.7.2
strategy:
fail-fast: false
matrix:
python-version: ["3.8"]
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
python-version: "3.8"
python-version: ["3.8"]
- name: Install flake8
run: python -m pip install flake8
- name: Flake8 lint
uses: py-actions/flake8@v2
with:
max-line-length: "80"
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
- name: Test dolfinx
run: |
python3 -c "import ufl; print('ufl import success')"
Expand Down

0 comments on commit c4b0839

Please sign in to comment.