File tree Expand file tree Collapse file tree 2 files changed +52
-42
lines changed Expand file tree Collapse file tree 2 files changed +52
-42
lines changed Original file line number Diff line number Diff line change 1+ name : Main CI
2+
3+ on : [push]
4+
5+ jobs :
6+ # lint:
7+ # FIXME
8+ test :
9+ runs-on : ubuntu-latest
10+ # needs: [lint]
11+ timeout-minutes : 10
12+ strategy :
13+ matrix :
14+ python-version :
15+ - ' 3.4'
16+ - ' 3.5'
17+ - ' 3.6'
18+ - ' 3.7'
19+ - ' 3.8'
20+ - ' 3.9'
21+ - ' 3.10'
22+ - ' 3.11'
23+ - ' 3.12'
24+ - ' pypy3.10'
25+ loader : [requests, aiohttp]
26+ exclude :
27+ - python-version : " 3.4"
28+ loader : aiohttp
29+ steps :
30+ - uses : actions/checkout@v4
31+ - name : Use Python ${{ matrix.python-version }}
32+ uses : actions/setup-python@v4
33+ with :
34+ python-version : ${{ matrix.python-version }}
35+ cache : ' pip'
36+ - name : Install
37+ run : pip install -r requirements.txt
38+ - name : Fetch test suites
39+ run : |
40+ git clone --depth 1 https://github.com/w3c/json-ld-api.git _json-ld-api
41+ git clone --depth 1 https://github.com/w3c/json-ld-framing.git _json-ld-framing
42+ git clone --depth 1 https://github.com/json-ld/normalization.git _normalization
43+ - name : Test with Python=${{ matrix.python-version }} Loader=${{ matrix.loader }}
44+ run : |
45+ python tests/runtests.py ./_json-ld-api/tests -l ${{ matrix.loader }}
46+ python tests/runtests.py ./_json-ld-framing/tests -l ${{ matrix.loader }}
47+ python tests/runtests.py ./_normalization/tests -l ${{ matrix.loader }}
48+ env :
49+ LOADER : ${{ matrix.loader }}
50+ # coverage:
51+ # needs: [test]
52+ # FIXME
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments