Clean up and refactor #7
Workflow file for this run
This file contains 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: "Recipe CI for Pull Requests only" | |
on: | |
pull_request: | |
branches: ["main"] | |
types: [opened, reopened, synchronize, labeled] | |
paths: # only run on changes to feedstock relevant code | |
- 'feedstock/**' | |
- 'configs/**' | |
- '.github/workflows/deploy.yaml' | |
jobs: | |
recipe-ci: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.environment }} | |
cancel-in-progress: true | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
env: | |
- IS_TEST: 'true' | |
- IS_TEST: 'false' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install Runner | |
run: python -m pip install pangeo-forge-runner==0.10.2 | |
- name: Install dependencies | |
run: python -m pip install -r feedstock/requirements.txt | |
- name: "Expand meta for the recipes" | |
run: pangeo-forge-runner expand-meta --repo=. |