Skip to content

Commit

Permalink
Update sif_database.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Aug 28, 2024
1 parent 445c47c commit 33aaff9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sif_database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
types: [opened, synchronize, reopened]
jobs:
build:
name: Verify SIF Files and CLASSF.DB Consistency
name: Verify SIF files and CLASSF.DB consistency
runs-on: ubuntu-latest
steps:
- name: Checkout SIFDecode
Expand Down Expand Up @@ -36,15 +36,15 @@ jobs:
problem_name="${file%.SIF}"
if [[ " ${db_problems[*]} " != *" ${problem_name} "* ]]; then
echo "${problem_name} is ABSENT from CLASSF.DB"
((missing_db_count++))
let missing_db_count++
fi
done
# Check if each entry in CLASSF.DB has a corresponding SIF file
for problem in "${db_problems[@]}"; do
if [[ ! -f "${problem}.SIF" ]]; then
echo "SIF file for ${problem} is MISSING"
((missing_sif_count++))
let missing_sif_count++
fi
done
Expand Down

0 comments on commit 33aaff9

Please sign in to comment.