Skip to content

Test Workflow

Test Workflow #364

Workflow file for this run

# Pick a random pair to run once per day
name: Test Workflow
on:
workflow_dispatch:
schedule:
# Run once per day at midnight
- cron: "0 0 * * *"
jobs:
searchASF:
runs-on: ubuntu-latest
outputs:
REFERENCE: ${{ steps.asf-search.outputs.REFERENCE }}
SECONDARY: ${{ steps.asf-search.outputs.SECONDARY }}
BURSTID: ${{ steps.asf-search.outputs.BURSTID }}
POLARIZATION: ${{ steps.asf-search.outputs.POLARIZATION }}
steps:
- name: Checkout Repository
uses: actions/checkout@v5
- uses: prefix-dev/[email protected]
with:
cache: true
frozen: true
activate-environment: true
# Call python script that sets needed environment variables for next job
- name: Search ASF for bursts
id: asf-search
run: |
python scripts/getRandomPair.py
hyp3-isce2:
needs: searchASF
uses: ./.github/workflows/insar_pair.yml
with:
reference: ${{ needs.searchASF.outputs.REFERENCE }}
secondary: ${{ needs.searchASF.outputs.SECONDARY }}
burstId: ${{ needs.searchASF.outputs.BURSTID }}
polarization: ${{ needs.searchASF.outputs.POLARIZATION }}
looks: 20x4
jobname: ${{ needs.searchASF.outputs.BURSTID }}
environment: testing
secrets: inherit