Skip to content

ci pipeline in development #13

ci pipeline in development

ci pipeline in development #13

Workflow file for this run

name: MDFEniCSx CI|
on:
push:
branches:
- "**"
pull_request:
branches:
- "main"
jobs:
flake8:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8"]
paths: [" "]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Print PWD
run: echo $PWD
- name: Install flake8
uses: py-actions/flake8@v2
with:
max-line-length: "80"
path: ${{ matrix.paths }}
test:
runs-on: ubuntu-latest
container: dolfinx/dolfinx:v0.7.2
strategy:

Check failure on line 38 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 38
fail-fast: false
matrix:
python-version: ["3.8"]
- name: Test dolfinx
run: |
python3 --version
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')"