Skip to content

Commit

Permalink
use docker
Browse files Browse the repository at this point in the history
  • Loading branch information
jhdark committed Oct 16, 2023
1 parent 1383fdd commit 86db081
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,13 @@ on: [pull_request, push]
jobs:
benchmark:
runs-on: ubuntu-latest
container: dolfinx/dolfinx:stable

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Conda
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: myenv
mamba-version: "*"
channels: conda-forge, defaults

- name: Create Conda environment
shell: bash -l {0}
run: |
mamba install -c conda-forge fenics-dolfinx
- name: Install local package and dependencies
shell: bash -l {0}
run: |
pip install .[test]
Expand All @@ -33,7 +21,6 @@ jobs:
key: ${{ runner.os }}-benchmark

- name: Run benchmark
shell: bash -l {0}
run: |
pytest benchmark.py --benchmark-json output.json
Expand Down

0 comments on commit 86db081

Please sign in to comment.