Skip to content

Commit 579bda1

Browse files
committed
Linked compliance tests as a Git submodule.
1 parent 1160451 commit 579bda1

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

.github/workflows/run-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v2
16+
with:
17+
submodules: recursive
1618
- name: Set up Python ${{ matrix.python-version }}
1719
uses: actions/setup-python@v2
1820
with:
@@ -25,4 +27,5 @@ jobs:
2527
pip install dist/*.whl
2628
- name: Test with pytest
2729
run: |
30+
./scripts/sync-tests
2831
cd tests/ && py.test --cov jmespath --cov-report term-missing

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "jmespath.test"]
2+
path = jmespath.test
3+
url = https://github.com/jmespath-community/jmespath.test.git
4+
branch = main

jmespath.test

Submodule jmespath.test added at 4f04768

scripts/sync-tests

100644100755
File mode changed.

tests/compliance/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*\.json

0 commit comments

Comments
 (0)