test(ci): use LFS for validation-data
#1730
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
| name: Coatjava-CI | |
| on: | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| test_lfs: | |
| runs-on: ubuntu-latest | |
| env: | |
| GIT_LFS_SKIP_SMUDGE: 1 # skip automatic LFS checkout | |
| steps: | |
| - run: git lfs install | |
| - name: git clone | |
| run: git clone --depth 1 https://code.jlab.org/hallb/clas12/validation-data.git | |
| - run: tree | |
| working-directory: validation-data | |
| - run: git status | |
| working-directory: validation-data | |
| - run: git lfs pull -I README.md | |
| working-directory: validation-data | |
| - name: pull evio | |
| working-directory: validation-data | |
| run: | | |
| for f in $(find raw -type f); do | |
| echo "PULL $f" | |
| git lfs pull -I $f || echo "FAILED TO PULL $f" | |
| done | |
| - name: pull tarballs | |
| working-directory: validation-data | |
| run: | | |
| for f in $(find recon -type f -name "*.zst"); do | |
| echo "PULL $f" | |
| git lfs pull -I $f || echo "FAILED TO PULL $f" | |
| done |