Skip to content

Commit

Permalink
Simplify PyOP2 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBetteridge committed Nov 10, 2024
1 parent 4839c0a commit 7ae7e5a
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/pyop2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,6 @@ jobs:
./configure "$PETSC_CONFIGURE_OPTIONS"
make
- name: Build and install petsc4py
shell: bash
working-directory: ${{ env.PETSC_DIR }}/src/binding/petsc4py
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade wheel cython numpy
python -m pip install --no-deps .
- name: Checkout PyOP2
uses: actions/checkout@v4
with:
Expand All @@ -70,20 +62,14 @@ jobs:
shell: bash
working-directory: PyOP2
run: |
python -m pip install -U flake8
python -m pip install -U pip
python -m pip install -U pytest-timeout
python -m pip install -U setuptools
- name: Install PyOP2
shell: bash
working-directory: PyOP2
run: python -m pip install -v ".[test]"

- name: Run linting
shell: bash
working-directory: PyOP2
run: make lint

- name: Run tests
shell: bash
working-directory: PyOP2
Expand Down

0 comments on commit 7ae7e5a

Please sign in to comment.