forked from XRPLF/XRPL-Standards
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (39 loc) · 1.23 KB
/
validate-xls.yml
File metadata and controls
47 lines (39 loc) · 1.23 KB
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
47
name: Validate XLS Documents
on:
push:
branches: [master]
pull_request:
workflow_dispatch:
jobs:
validate-xls:
runs-on: ubuntu-latest
name: Validate XLS Document Parsing
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Cache Python dependencies
id: cache-deps
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/site/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r site/requirements.txt
- name: Validate XLS document parsing
run: |
echo "Running XLS document validation..."
python site/xls_parser.py
- name: Report validation results
if: always()
run: |
echo "XLS validation completed"
echo "This pipeline validates that all XLS documents can be parsed correctly"
echo "If this fails, it indicates issues with XLS document formatting or metadata"