Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
# Update specifications' submodules
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference
- package-ecosystem: "submodules"
directory: "/"
schedule:
interval: "weekly"
12 changes: 4 additions & 8 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v5
with:
submodules: recursive
persist-credentials: false
- uses: actions/setup-python@v6
with:
Expand Down Expand Up @@ -48,6 +49,7 @@ jobs:
steps:
- uses: actions/checkout@v5
with:
submodules: recursive
persist-credentials: false
- name: Use Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
Expand All @@ -61,16 +63,10 @@ jobs:
- name: Install testing dependencies
run: |
pip install -r requirements-test.txt
- name: Fetch test suites
run: |
git clone --depth 1 https://github.com/w3c/json-ld-api.git _json-ld-api
git clone --depth 1 https://github.com/w3c/json-ld-framing.git _json-ld-framing
git clone --depth 1 https://github.com/json-ld/normalization.git _normalization
- name: Test with Python=${{ matrix.python-version }} Loader=${{ matrix.loader }}
run: |
python tests/runtests.py ./_json-ld-api/tests -l ${{ matrix.loader }}
python tests/runtests.py ./_json-ld-framing/tests -l ${{ matrix.loader }}
python tests/runtests.py ./_normalization/tests -l ${{ matrix.loader }}
python tests/runtests.py ./specifications/json-ld-api/tests -l ${{ matrix.loader }}
python tests/runtests.py ./specifications/json-ld-framing/tests -l ${{ matrix.loader }}
env:
LOADER: ${{ matrix.loader }}
#coverage:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ lib/PyLD.egg-info
profiler
tests/test_caching.py
tests/data/test_caching.json

# Local version file for pyenv
.python-version
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "specifications/json-ld-api"]
path = specifications/json-ld-api
url = https://github.com/w3c/json-ld-api.git
[submodule "specifications/json-ld-framing"]
path = specifications/json-ld-framing
url = https://github.com/w3c/json-ld-framing.git
1 change: 1 addition & 0 deletions specifications/json-ld-api
Submodule json-ld-api added at 590f78
1 change: 1 addition & 0 deletions specifications/json-ld-framing
Submodule json-ld-framing added at fa2287
Loading