Skip to content

Commit

Permalink
fail with exit during some events
Browse files Browse the repository at this point in the history
  • Loading branch information
Radonirinaunimi committed Jun 5, 2024
1 parent fe5b818 commit 4ea0f73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/check_newcd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ jobs:
run: |
here=$PWD
readarray -d '' array < <(find ./nnpdf_data/nnpdf_data/new_commondata -name "filter.py" -print0)
for datname in "${array[@]}"; do dirpath=${datname%/*}; cd $dirpath; python filter.py; cd $here; done
for datname in "${array[@]}"; do dirpath=${datname%/*}; cd $dirpath; python filter.py || exit $?; cd $here; done
- name: Check for modified files 🛎️
uses: tj-actions/verify-changed-files@v20
id: verify-changed-files
with:
fail-if-changed: "true"
- name: List all changed tracked and untracked files 🛎️
env:
CHANGED_FILES: ${{ steps.verify-changed-files.outputs.changed_files }}
Expand Down

0 comments on commit 4ea0f73

Please sign in to comment.