3
3
- pull_request
4
4
5
5
jobs :
6
- build :
6
+ lint :
7
+ runs-on : ubuntu-latest
8
+ strategy :
9
+ matrix :
10
+ python-version :
11
+ - ' 3.12'
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+ - uses : actions/setup-python@v5
15
+ with :
16
+ python-version : ${{ matrix.python-version }}
17
+ - name : lint
18
+ run : |
19
+ make lint
20
+
21
+ test :
7
22
runs-on : ubuntu-latest
8
23
strategy :
9
24
fail-fast : false
10
25
matrix :
11
26
python-version :
12
27
- ' 3.13'
13
28
- ' 3.12'
14
-
15
29
steps :
16
30
- uses : actions/checkout@v4
17
31
- name : set up Python ${{ matrix.python-version }}
@@ -20,26 +34,48 @@ jobs:
20
34
python-version : ${{ matrix.python-version }}
21
35
- name : install dependencies
22
36
run : |
23
- sudo apt-get update
24
- sudo apt-get dist-upgrade -y
25
- sudo apt-get install -y pandoc
26
- sudo apt-get install -y python3-sphinx
27
- sudo apt-get install -y python3-docutils
28
37
python -m pip install --upgrade pip
29
38
pip install --upgrade --requirement requirements-test.txt
30
- - name : lint
31
- # if: ${{ matrix.python-version == '3.12' }}
32
- run : |
33
- make lint
34
39
- name : pytest
35
40
run : |
36
41
make tatsu_test
37
42
- name : examples
38
43
run : |
39
44
make examples
45
+
46
+ docs :
47
+ runs-on : ubuntu-latest
48
+ strategy :
49
+ matrix :
50
+ python-version :
51
+ - ' 3.12'
52
+ steps :
53
+ - uses : actions/checkout@v4
54
+ - uses : actions/setup-python@v5
55
+ with :
56
+ python-version : ${{ matrix.python-version }}
57
+ - name : install dependencies
58
+ run : |
59
+ sudo apt-get update
60
+ sudo apt-get dist-upgrade -y
61
+ sudo apt-get install -y pandoc
62
+ sudo apt-get install -y python3-sphinx
63
+ sudo apt-get install -y python3-docutils
40
64
- name : documentation
41
65
run : |
42
66
make documentation
67
+
68
+ build :
69
+ runs-on : ubuntu-latest
70
+ strategy :
71
+ matrix :
72
+ python-version :
73
+ - ' 3.12'
74
+ steps :
75
+ - uses : actions/checkout@v4
76
+ - uses : actions/setup-python@v5
77
+ with :
78
+ python-version : ${{ matrix.python-version }}
43
79
- name : distributions
44
80
run : |
45
81
make build
0 commit comments