-
Notifications
You must be signed in to change notification settings - Fork 2
50 lines (36 loc) · 990 Bytes
/
ci.yml
File metadata and controls
50 lines (36 loc) · 990 Bytes
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
48
49
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.13
uses: actions/setup-python@v4
with:
python-version: "3.13"
- name: Clone YAML Test Suite
run: git clone https://github.com/yaml/yaml-test-suite tests/yaml-test-suite
- name: Install System Dependencies
run: |
sudo apt-get update
sudo apt-get install -y flex bison build-essential libfl-dev
- name: Build YAML Parser
run: make parser
- name: Install Package and Dependencies
run: |
pip install --upgrade pip
pip install -e ".[test]"
- name: Verify Build
run: make verify-build
- name: Run Demo (Hello World)
run: make demo-hello
- name: Run Core Tests
run: make test
- name: Run YAML Test Suite
run: make test-suite
continue-on-error: true