Skip to content

Commit

Permalink
ci: update pipeline codespell to only have one job
Browse files Browse the repository at this point in the history
  • Loading branch information
kluge7 committed Sep 24, 2024
1 parent 369d7d6 commit cd305d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
23 changes: 2 additions & 21 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Run codespell
on: [pull_request]

jobs:
codespell_fix:
codespell:
runs-on: ubuntu-latest

steps:
Expand All @@ -19,7 +19,6 @@ jobs:
- name: Run codespell to fix spelling mistakes
run: |
codespell -w .
continue-on-error: true
- name: Commit codespell changes
uses: EndBug/add-and-commit@v9
Expand All @@ -28,22 +27,4 @@ jobs:
author_email: [email protected]
message: 'Committing codespell fixes'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

codespell_check:
runs-on: ubuntu-latest
needs: codespell_fix

steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Install codespell
run: |
sudo apt-get update
sudo apt-get install -y codespell
- name: Run codespell to check for unresolved mistakes
run: |
codespell .
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def get_acoustics_data():
hydrophone4 = convert_pandas_object_to_int_array(latest_acoustics_data["Hydrophone4"])
hydrophone5 = convert_pandas_object_to_int_array(latest_acoustics_data["Hydrophone5"])

# Unfiltered data is special as it is the same as Hydrohone 1 first 1024 values
# Unfiltered data is spcial as it is the same as Hydrohone 1 first 1024 values
# This is because Acoustics PCB uses Hydrophone 1 to perform DSP
# Hydrohones have a ring buffer the size of 3 buffers each containing 1024 values (2^10)
# We always use the first ring buffer of Hydrophone 1 to perform DSP
Expand Down

0 comments on commit cd305d5

Please sign in to comment.