Skip to content

Commit

Permalink
added style tests
Browse files Browse the repository at this point in the history
  • Loading branch information
santacodes committed Jun 5, 2024
1 parent 274240c commit b40bfbf
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test_on_push.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
name: pybamm_cookiecutter

on:
workflow_dispatch:
pull_request:


jobs:
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Check style
run: |
python -m pip install pre-commit
pre-commit run -a
run_tests:
needs: style
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down

0 comments on commit b40bfbf

Please sign in to comment.