Check load_imazon #1
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
| name: Check load_imazon | |
| on: | |
| schedule: | |
| - cron: "0 11 1 * *" | |
| workflow_dispatch: | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 90 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: r-lib/actions/setup-r@v2 | |
| with: | |
| r-version: 'release' | |
| use-public-rspm: true | |
| - name: System dependencies (sf/units) | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| libgdal-dev \ | |
| libgeos-dev \ | |
| libproj-dev \ | |
| libudunits2-dev \ | |
| gdal-bin \ | |
| proj-bin \ | |
| libcurl4-openssl-dev \ | |
| libssl-dev \ | |
| libxml2-dev | |
| - uses: r-lib/actions/setup-r-dependencies@v2 | |
| with: | |
| extra-packages: | | |
| local::. | |
| needs: check | |
| - name: Run checks for load_imazon | |
| run: | | |
| Rscript --vanilla actions/scripts/check_all_loads.R --fn load_imazon | |
| - name: Upload results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: check-results-load_imazon | |
| path: check_results_load_imazon_*.csv |