Skip to content

[pre-commit.ci] pre-commit autoupdate #273

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #273

Workflow file for this run

name: CI
on: [push]
jobs:
test:
name: Test
runs-on: ubuntu-latest
container:
image: "ghcr.io/scientificcomputing/fenics-gmsh:2024-02-19"
steps:
- uses: actions/checkout@v4
- name: Cache
id: cache-primes
uses: actions/cache@v4
with:
path: |
~/.cache/instant
~/.cache/dijitso
~/.cache/pulse
~/.cache/pip
key: ${{ matrix.container }}-cache_v10
restore-keys: |
${{ matrix.container }}-cache_v10
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -e ".[test]"
- name: Test with pytest
run: python3 -m pytest
- name: Install dolfin-adjoint
run: python3 -m pip install dolfin-adjoint
- name: Test with pyadjoint
run: python3 -m pytest