File tree Expand file tree Collapse file tree 2 files changed +54
-42
lines changed Expand file tree Collapse file tree 2 files changed +54
-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 : |
38+ python -m pip install --upgrade pip
39+ pip install -r requirements.txt
40+ - name : Fetch test suites
41+ run : |
42+ git clone --depth 1 https://github.com/w3c/json-ld-api.git _json-ld-api
43+ git clone --depth 1 https://github.com/w3c/json-ld-framing.git _json-ld-framing
44+ git clone --depth 1 https://github.com/json-ld/normalization.git _normalization
45+ - name : Test with Python=${{ matrix.python-version }} Loader=${{ matrix.loader }}
46+ run : |
47+ python tests/runtests.py ./_json-ld-api/tests -l ${{ matrix.loader }}
48+ python tests/runtests.py ./_json-ld-framing/tests -l ${{ matrix.loader }}
49+ python tests/runtests.py ./_normalization/tests -l ${{ matrix.loader }}
50+ env :
51+ LOADER : ${{ matrix.loader }}
52+ # coverage:
53+ # needs: [test]
54+ # FIXME
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments