@@ -11,108 +11,108 @@ env:
11
11
XDG_CACHE_HOME : ${{ github.workspace }}/cache
12
12
PIP_CACHE_DIR : ${{ github.workspace }}/pip-cache
13
13
14
- jobs :
15
- validate :
16
- permissions :
17
- contents : read
18
- runs-on : ${{ matrix.os }}
19
- strategy :
20
- fail-fast : false
21
- matrix :
22
- python-version : ["3.7", "3.8", "3.9", "3.10", "3.11.0-beta.4"]
23
- os : [ubuntu-latest, macos-latest, windows-latest]
24
- include :
25
- - python-version : " 3.7"
26
- os : ubuntu-latest
27
- extensive-tests : true
28
- - python-version : " 3.8"
29
- os : ubuntu-latest
30
- TOX_EXTRA_COMMAND : " - isort --check-only --diff ."
31
- - python-version : " 3.9"
32
- os : ubuntu-latest
33
- TOX_EXTRA_COMMAND : " - black --check --diff ./rdflib"
34
- - python-version : " 3.10"
35
- os : ubuntu-latest
36
- TOX_EXTRA_COMMAND : " flake8 --exit-zero rdflib"
37
- steps :
38
- - uses : actions/checkout@v3
39
- - name : Set up Python ${{ matrix.python-version }}
40
- uses : actions/setup-python@v4
41
- with :
42
- python-version : ${{ matrix.python-version }}
43
- - uses : actions/setup-java@v3
44
- if : ${{ matrix.extensive-tests }}
45
- with :
46
- distribution : " temurin"
47
- java-version : " 17"
48
- - name : Cache pip
49
- uses : actions/cache@v3
50
- with :
51
- path : ${{ env.PIP_CACHE_DIR }}
52
- key : ${{ matrix.os }}-pip-${{ matrix.python-version }}-v1-${{
53
- hashFiles('**/setup.py', '**/*requirements*.txt') }}
54
- restore-keys : |
55
- ${{ matrix.os }}-pip-${{ matrix.python-version }}-v1-
56
- - name : Cache xdg
57
- uses : actions/cache@v3
58
- with :
59
- path : ${{ env.XDG_CACHE_HOME }}
60
- key : ${{ matrix.os }}-xdg-v1-${{ hashFiles('**/with-fuseki.sh') }}
61
- restore-keys : |
62
- ${{ matrix.os }}-xdg-v1-
63
- - name : Install Task
64
- uses : arduino/setup-task@v1
65
- with :
66
- repo-token : ${{ secrets.GITHUB_TOKEN }}
67
- - name : Run validation
68
- shell : bash
69
- run : |
70
- task \
71
- TOX_EXTRA_COMMAND="${{ matrix.TOX_EXTRA_COMMAND }}" \
72
- OS=${{ matrix.os }} \
73
- EXTENSIVE=${{ matrix.extensive-tests }} \
74
- TOX_PYTHON_VERSION=${{ matrix.python-version }} \
75
- gha:validate
76
- env :
77
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
78
- extra-tasks :
79
- runs-on : ubuntu-latest
80
- strategy :
81
- fail-fast : false
82
- matrix :
83
- include :
84
- - task : " gha:flake8"
85
- python-version : 3.8
86
- steps :
87
- - uses : actions/checkout@v3
88
- - name : Set up Python ${{env.DEFAULT_PYTHON}}
89
- uses : actions/setup-python@v4
90
- with :
91
- python-version : ${{ matrix.python-version }}
92
- - name : Cache pip
93
- uses : actions/cache@v3
94
- with :
95
- path : ${{ env.PIP_CACHE_DIR }}
96
- key : tox-${{ matrix.task }}-pip-v1-${{
97
- hashFiles('**/setup.py', '**/requirements*.txt') }}
98
- restore-keys : |
99
- tox-${{ matrix.task }}-pip-v1-
100
- - name : Install Task
101
- uses : arduino/setup-task@v1
102
- with :
103
- repo-token : ${{ secrets.GITHUB_TOKEN }}
104
- - name : Run task
105
- shell : bash
106
- run : |
107
- task ${{ matrix.task }}
108
- finish :
109
- permissions :
110
- contents : read
111
- needs : validate
112
- runs-on : ubuntu-latest
113
- steps :
114
- - name : Coveralls Finished
115
- uses : coverallsapp/github-action@master
116
- with :
117
- github-token : ${{ secrets.GITHUB_TOKEN }}
118
- parallel-finished : true
14
+ jobs : {}
15
+ # validate:
16
+ # permissions:
17
+ # contents: read
18
+ # runs-on: ${{ matrix.os }}
19
+ # strategy:
20
+ # fail-fast: false
21
+ # matrix:
22
+ # python-version: ["3.7", "3.8", "3.9", "3.10", "3.11.0-beta.4"]
23
+ # os: [ubuntu-latest, macos-latest, windows-latest]
24
+ # include:
25
+ # - python-version: "3.7"
26
+ # os: ubuntu-latest
27
+ # extensive-tests: true
28
+ # - python-version: "3.8"
29
+ # os: ubuntu-latest
30
+ # TOX_EXTRA_COMMAND: "- isort --check-only --diff ."
31
+ # - python-version: "3.9"
32
+ # os: ubuntu-latest
33
+ # TOX_EXTRA_COMMAND: "- black --check --diff ./rdflib"
34
+ # - python-version: "3.10"
35
+ # os: ubuntu-latest
36
+ # TOX_EXTRA_COMMAND: "flake8 --exit-zero rdflib"
37
+ # steps:
38
+ # - uses: actions/checkout@v3
39
+ # - name: Set up Python ${{ matrix.python-version }}
40
+ # uses: actions/setup-python@v4
41
+ # with:
42
+ # python-version: ${{ matrix.python-version }}
43
+ # - uses: actions/setup-java@v3
44
+ # if: ${{ matrix.extensive-tests }}
45
+ # with:
46
+ # distribution: "temurin"
47
+ # java-version: "17"
48
+ # - name: Cache pip
49
+ # uses: actions/cache@v3
50
+ # with:
51
+ # path: ${{ env.PIP_CACHE_DIR }}
52
+ # key: ${{ matrix.os }}-pip-${{ matrix.python-version }}-v1-${{
53
+ # hashFiles('**/setup.py', '**/*requirements*.txt') }}
54
+ # restore-keys: |
55
+ # ${{ matrix.os }}-pip-${{ matrix.python-version }}-v1-
56
+ # - name: Cache xdg
57
+ # uses: actions/cache@v3
58
+ # with:
59
+ # path: ${{ env.XDG_CACHE_HOME }}
60
+ # key: ${{ matrix.os }}-xdg-v1-${{ hashFiles('**/with-fuseki.sh') }}
61
+ # restore-keys: |
62
+ # ${{ matrix.os }}-xdg-v1-
63
+ # - name: Install Task
64
+ # uses: arduino/setup-task@v1
65
+ # with:
66
+ # repo-token: ${{ secrets.GITHUB_TOKEN }}
67
+ # - name: Run validation
68
+ # shell: bash
69
+ # run: |
70
+ # task \
71
+ # TOX_EXTRA_COMMAND="${{ matrix.TOX_EXTRA_COMMAND }}" \
72
+ # OS=${{ matrix.os }} \
73
+ # EXTENSIVE=${{ matrix.extensive-tests }} \
74
+ # TOX_PYTHON_VERSION=${{ matrix.python-version }} \
75
+ # gha:validate
76
+ # env:
77
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78
+ # extra-tasks:
79
+ # runs-on: ubuntu-latest
80
+ # strategy:
81
+ # fail-fast: false
82
+ # matrix:
83
+ # include:
84
+ # - task: "gha:flake8"
85
+ # python-version: 3.8
86
+ # steps:
87
+ # - uses: actions/checkout@v3
88
+ # - name: Set up Python ${{env.DEFAULT_PYTHON}}
89
+ # uses: actions/setup-python@v4
90
+ # with:
91
+ # python-version: ${{ matrix.python-version }}
92
+ # - name: Cache pip
93
+ # uses: actions/cache@v3
94
+ # with:
95
+ # path: ${{ env.PIP_CACHE_DIR }}
96
+ # key: tox-${{ matrix.task }}-pip-v1-${{
97
+ # hashFiles('**/setup.py', '**/requirements*.txt') }}
98
+ # restore-keys: |
99
+ # tox-${{ matrix.task }}-pip-v1-
100
+ # - name: Install Task
101
+ # uses: arduino/setup-task@v1
102
+ # with:
103
+ # repo-token: ${{ secrets.GITHUB_TOKEN }}
104
+ # - name: Run task
105
+ # shell: bash
106
+ # run: |
107
+ # task ${{ matrix.task }}
108
+ # finish:
109
+ # permissions:
110
+ # contents: read
111
+ # needs: validate
112
+ # runs-on: ubuntu-latest
113
+ # steps:
114
+ # - name: Coveralls Finished
115
+ # uses: coverallsapp/github-action@master
116
+ # with:
117
+ # github-token: ${{ secrets.GITHUB_TOKEN }}
118
+ # parallel-finished: true
0 commit comments