-
-
Notifications
You must be signed in to change notification settings - Fork 8
35 lines (35 loc) · 1.44 KB
/
validate_csvs.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
name: validate-csvs
on:
workflow_dispatch:
pull_request:
types:
- "opened"
- "synchronize"
- "reopened"
branches:
- "main"
paths:
- "**.csv"
push:
branches:
- "main"
jobs:
validate-csvs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build csv validator
run: cargo build --manifest-path ./validator/Cargo.toml --release
- name: Validate hospital price data
run: ./validator/target/release/validator ./price_transparency/hospitals/machine_readable_links.csv hospital_price_transparency
- name: Validate insurer homepages
run: ./validator/target/release/validator ./price_transparency/insurers/machine_readable_homepages.csv insurer_homepages
- name: Validate hospital existence
run: ./validator/target/release/validator ./existence_transparency/hospitals/hospitals.csv hospital_existence
- name: Validate insurer existence (insurers)
run: ./validator/target/release/validator ./existence_transparency/insurers/insurers.csv insurer_existence_insurers
- name: Validate insurer existence (issuers)
run: ./validator/target/release/validator ./existence_transparency/insurers/issuers.csv insurer_existence_issuers
- name: Validate insurer existence (plans)
run: ./validator/target/release/validator ./existence_transparency/insurers/plans.csv insurer_existence_plans