Skip to content

Commit

Permalink
added check_format.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
wangpatrick57 committed Aug 24, 2024
1 parent 76b8228 commit a81c8aa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
run: |
./dependencies/install_dependencies.sh
- name: Check formatting
run: |
./scripts/check_format.sh
- name: Run unit tests
run: |
. "$HOME/.cargo/env"
Expand Down
5 changes: 5 additions & 0 deletions scripts/check_format.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -euxo pipefail

black . --check
isort . -c

0 comments on commit a81c8aa

Please sign in to comment.