File tree 3 files changed +21
-13
lines changed
3 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 1
1
* text eol =lf
2
2
3
+ examples /crlf-line-endings.py eol =crlf
4
+ examples /python2-grammar-crlf.py eol =crlf
5
+ examples /python3-grammar-crlf.py eol =crlf
6
+
3
7
src /* .json linguist-generated
4
8
src /parser.c linguist-generated
5
9
src /tree_sitter /* linguist-generated
@@ -8,3 +12,4 @@ bindings/** linguist-generated
8
12
binding.gyp linguist-generated
9
13
setup.py linguist-generated
10
14
Makefile linguist-generated
15
+ Package.swift linguist-generated
Original file line number Diff line number Diff line change @@ -36,22 +36,21 @@ jobs:
36
36
node-version : ${{vars.NODE_VERSION}}
37
37
- name : Set up examples
38
38
run : |-
39
- git clone https://github.com/numpy/numpy examples/numpy --depth=1 --filter=blob:none
40
- git clone https://github.com/django/django examples/django --depth=1 --filter=blob:none
41
- git clone https://github.com/pallets/flask examples/flask --depth=1 --filter=blob:none
42
- git clone https://github.com/python/cpython examples/cpython --depth=1 --filter=blob:none
39
+ git clone https://github.com/numpy/numpy examples/numpy --single-branch -- depth=1 --filter=blob:none
40
+ git clone https://github.com/django/django examples/django --single-branch -- depth=1 --filter=blob:none
41
+ git clone https://github.com/pallets/flask examples/flask --single-branch -- depth=1 --filter=blob:none
42
+ git clone https://github.com/python/cpython examples/cpython --single-branch -- depth=1 --filter=blob:none
43
43
- name : Run tests
44
- uses : tree-sitter/parser-test-action@v1.1
44
+ uses : tree-sitter/parser-test-action@v1.2
45
45
with :
46
- lint : true
46
+ lint : ${{runner.os == 'Linux'}}
47
47
test-library : ${{runner.os == 'Linux'}}
48
- examples : |
48
+ corpus-files : |
49
49
examples/**/*.py
50
- !examples/cpython/Lib/test/badsyntax_3131.py
51
- !examples/cpython/Lib/test/badsyntax_future8.py
52
- !examples/cpython/Lib/test/test_compile.py
53
- !examples/cpython/Lib/test/tokenizedata/badsyntax_3131.py
54
- !examples/cpython/Tools/build/generate_re_casefix.py
50
+ invalid-files : |
51
+ examples/cpython/Lib/test/badsyntax_3131.py
52
+ examples/cpython/Lib/test/badsyntax_future8.py
53
+ examples/cpython/Lib/test/tokenizedata/badsyntax_3131.py
55
54
fuzz :
56
55
name : Fuzz parser
57
56
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 16
16
crates :
17
17
uses : tree-sitter/workflows/.github/workflows/package-crates.yml@main
18
18
secrets :
19
- CARGO_REGISTRY_TOKEN : ${{secrets.CARGO_TOKEN}}
19
+ CARGO_REGISTRY_TOKEN : ${{secrets.CARGO_REGISTRY_TOKEN}}
20
+ pypi :
21
+ uses : tree-sitter/workflows/.github/workflows/package-pypi.yml@main
22
+ secrets :
23
+ PYPI_API_TOKEN : ${{secrets.PYPI_TOKEN}}
You can’t perform that action at this time.
0 commit comments