Skip to content

Commit c5fca1a

Browse files
committed
ci: clone examples after running tests
1 parent ed6d927 commit c5fca1a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,6 @@ jobs:
3434
uses: actions/checkout@v4
3535
- name: Set up tree-sitter
3636
uses: tree-sitter/setup-action/cli@v2
37-
- name: Set up examples
38-
run: |-
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
4337
- name: Run tests
4438
uses: tree-sitter/parser-test-action@v2
4539
with:
@@ -48,6 +42,12 @@ jobs:
4842
test-python: true
4943
test-go: true
5044
test-swift: true
45+
- name: Set up examples
46+
run: |-
47+
git clone https://github.com/numpy/numpy examples/numpy --single-branch --depth=1 --filter=blob:none
48+
git clone https://github.com/django/django examples/django --single-branch --depth=1 --filter=blob:none
49+
git clone https://github.com/pallets/flask examples/flask --single-branch --depth=1 --filter=blob:none
50+
git clone https://github.com/python/cpython examples/cpython --single-branch --depth=1 --filter=blob:none
5151
- name: Parse examples
5252
uses: tree-sitter/parse-action@v4
5353
with:

0 commit comments

Comments
 (0)