Skip to content

Commit

Permalink
73: tidy up pre-commit action
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Sharples committed Oct 24, 2023
1 parent da9580f commit 6fbff3d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/run-pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: pre-commit
name: Run pre-commit

on:
push:
Expand All @@ -19,14 +18,14 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install .[all]
- name: pre-commit checks
run: |
pip install pre-commit
pre-commit run

0 comments on commit 6fbff3d

Please sign in to comment.