Skip to content

Commit

Permalink
Test run in the ci checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Rd4dev committed Sep 4, 2024
1 parent 466ddbf commit fcfe061
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/static_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ jobs:
run: |
bash /home/runner/work/oppia-android/oppia-android/scripts/buildifier_lint_check.sh $HOME
- name: Binary files check
run: |
bash /home/runner/work/oppia-android/oppia-android/scripts/pre-commit.sh
script_checks:
name: Script Checks
runs-on: ubuntu-20.04
Expand Down
1 change: 1 addition & 0 deletions scripts/pre-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ changed_files=$(git diff --name-only "$base_commit" HEAD)

# Combine both lists of files, ensuring no duplicates
all_files=$(echo -e "$staged_files\n$changed_files" | sort -u)
echo "$all_files"

function checkForBinaries() {
binaryFilesCount=0
Expand Down

0 comments on commit fcfe061

Please sign in to comment.