Skip to content

Commit 8195daa

Browse files
#181 Use spec git submodules in CI
1 parent 9ebcae7 commit 8195daa

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/main.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
- '3.14'
1313
steps:
1414
- uses: actions/checkout@v4
15+
with:
16+
submodules: recursive
1517
- name: Use Python ${{ matrix.python-version }}
1618
uses: actions/setup-python@v4
1719
with:
@@ -44,6 +46,8 @@ jobs:
4446
loader: [requests, aiohttp]
4547
steps:
4648
- uses: actions/checkout@v4
49+
with:
50+
submodules: recursive
4751
- name: Use Python ${{ matrix.python-version }}
4852
uses: actions/setup-python@v4
4953
with:
@@ -56,16 +60,10 @@ jobs:
5660
- name: Install testing dependencies
5761
run: |
5862
pip install -r requirements-test.txt
59-
- name: Fetch test suites
60-
run: |
61-
git clone --depth 1 https://github.com/w3c/json-ld-api.git _json-ld-api
62-
git clone --depth 1 https://github.com/w3c/json-ld-framing.git _json-ld-framing
63-
git clone --depth 1 https://github.com/json-ld/normalization.git _normalization
6463
- name: Test with Python=${{ matrix.python-version }} Loader=${{ matrix.loader }}
6564
run: |
66-
python tests/runtests.py ./_json-ld-api/tests -l ${{ matrix.loader }}
67-
python tests/runtests.py ./_json-ld-framing/tests -l ${{ matrix.loader }}
68-
python tests/runtests.py ./_normalization/tests -l ${{ matrix.loader }}
65+
python tests/runtests.py ./specifications/json-ld-api/tests -l ${{ matrix.loader }}
66+
python tests/runtests.py ./specifications/json-ld-framing/tests -l ${{ matrix.loader }}
6967
env:
7068
LOADER: ${{ matrix.loader }}
7169
#coverage:

0 commit comments

Comments
 (0)