Skip to content

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

[pre-commit.ci] pre-commit autoupdate

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

Workflow file for this run

name: CI
on:
push:
# The CI is executed on every push on every branch
branches:
- main
pull_request:
# The CI is executed on every pull request to the main branch
branches:
- main
jobs:
test:
name: Test
runs-on: ubuntu-latest
container:
image: ghcr.io/scientificcomputing/fenics-gmsh:2023-08-16
steps:
- uses: actions/checkout@v3
- name: Cache
id: cache-primes
uses: actions/cache@v3
with:
path: |
~/.cache/instant
~/.cache/dijitso
~/.cache/pip
key: cache_v2
restore-keys: |
cache_v2
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -e ".[test]"
- name: Test with pytest
run: |
python3 -m pytest