-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (38 loc) · 1.32 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Test LEAP Catalog Action
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: validate single
uses: ./leap-catalog
with:
version: "0.0.16"
single-feedstock: "https://github.com/carbonplan/ocean-carbon-sink-data-feedstock/blob/main/feedstock/catalog.yaml"
- name: Validate and Generate catalog for single feedstock
uses: ./leap-catalog
with:
generation-single: "https://github.com/carbonplan/ocean-carbon-sink-data-feedstock/blob/main/feedstock/catalog.yaml"
output-directory: "catalog/"
- name: validate many
uses: ./leap-catalog
with:
validation-path: "https://raw.githubusercontent.com/leap-stc/data-management/main/catalog/input.yaml"
- name: Validate and Generate catalog
uses: ./leap-catalog
with:
generation-path: "https://raw.githubusercontent.com/leap-stc/data-management/main/catalog/input.yaml"
output-directory: "catalog/"