Skip to content

Updates for latest tlm_adjoint #283

Updates for latest tlm_adjoint

Updates for latest tlm_adjoint #283

Workflow file for this run

name: test-fenics_ice
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-22.04
timeout-minutes: 60
env:
OMP_NUM_THREADS: 1
OPENBLAS_NUM_THREADS: 1
steps:
- name: Checkout fenics_ice
uses: actions/checkout@v4
with:
path: 'fenics_ice'
- name: Checkout tlm_adjoint
uses: actions/checkout@v4
with:
repository: 'tlm-adjoint/tlm_adjoint'
path: 'tlm_adjoint'
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install python3-dolfin python3-h5py python3-pytest-dependency python3-pytest-order python3-numpy python3-pytest python3-pytest-timeout python3-scipy python3-sympy
run: |

Check failure on line 36 in .github/workflows/test-fice.yml

View workflow run for this annotation

GitHub Actions / test-fenics_ice

Invalid workflow file

The workflow is not valid. .github/workflows/test-fice.yml (Line: 36, Col: 9): 'run' is already defined
export PYTHONPATH=$PYTHONPATH:$GITHUB_WORKSPACE/tlm_adjoint
cd fenics_ice
pytest-3 -v --order-scope=module --timeout=300 --timeout-method=thread
mpirun -n 2 pytest-3 -v --order-scope=module --timeout=300 --timeout-method=thread
mpirun -n 2 pytest-3 -m key --key=smith --timeout=300 --timeout-method=thread