Skip to content

Commit f247963

Browse files
#181 Use spec git submodules in CI
1 parent 631a6a9 commit f247963

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/main.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v5
1919
with:
20+
submodules: recursive
2021
persist-credentials: false
2122
- uses: actions/setup-python@v6
2223
with:
@@ -48,6 +49,7 @@ jobs:
4849
steps:
4950
- uses: actions/checkout@v5
5051
with:
52+
submodules: recursive
5153
persist-credentials: false
5254
- name: Use Python ${{ matrix.python-version }}
5355
uses: actions/setup-python@v6
@@ -61,16 +63,10 @@ jobs:
6163
- name: Install testing dependencies
6264
run: |
6365
pip install -r requirements-test.txt
64-
- name: Fetch test suites
65-
run: |
66-
git clone --depth 1 https://github.com/w3c/json-ld-api.git _json-ld-api
67-
git clone --depth 1 https://github.com/w3c/json-ld-framing.git _json-ld-framing
68-
git clone --depth 1 https://github.com/json-ld/normalization.git _normalization
6966
- name: Test with Python=${{ matrix.python-version }} Loader=${{ matrix.loader }}
7067
run: |
71-
python tests/runtests.py ./_json-ld-api/tests -l ${{ matrix.loader }}
72-
python tests/runtests.py ./_json-ld-framing/tests -l ${{ matrix.loader }}
73-
python tests/runtests.py ./_normalization/tests -l ${{ matrix.loader }}
68+
python tests/runtests.py ./specifications/json-ld-api/tests -l ${{ matrix.loader }}
69+
python tests/runtests.py ./specifications/json-ld-framing/tests -l ${{ matrix.loader }}
7470
env:
7571
LOADER: ${{ matrix.loader }}
7672
#coverage:

0 commit comments

Comments
 (0)