File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 80
80
include-hidden-files : true
81
81
if-no-files-found : error
82
82
83
+ run-graalpy-tests :
84
+ runs-on : ${{matrix.os}}
85
+ strategy :
86
+ matrix :
87
+ os : [ubuntu-latest]
88
+ version : ['3.11']
89
+ include :
90
+ - version : ' 3.11'
91
+ graalpy-version : ' 24.1.0'
92
+ tox-env : py311
93
+ steps :
94
+ - uses : actions/checkout@v4
95
+ - uses : actions/setup-python@v5
96
+ with :
97
+ python-version : graalpy-${{ matrix.graalpy-version }}
98
+ - name : Cache dependencies
99
+ id : cache-deps
100
+ uses : actions/cache@v4
101
+ with :
102
+ path : |
103
+ .tox
104
+ ~/.cache/pip
105
+ ~/.cache/pypoetry
106
+ ~/.local/bin/poetry
107
+ ~/.local/share/pypoetry
108
+ key : ${{ runner.os }}-graalpy-${{ matrix.version }}-poetry-${{ hashFiles('.github/workflows/run-tests.yml', 'pyproject.toml', 'tox.ini') }}
109
+ - name : Install Poetry
110
+ if : steps.cache-deps.outputs.cache-hit != 'true'
111
+ run : curl -sSL https://install.python-poetry.org | python3 -
112
+ - name : Install Tox
113
+ run : |
114
+ pip install -U pip
115
+ pip install tox
116
+ - name : Run tests
117
+ env :
118
+ TOX_PARALLEL_NO_SPINNER : 1
119
+ TOX_SHOW_OUTPUT : " True"
120
+ TOXENV : ${{ matrix.tox-env }}
121
+ run : |
122
+ tox run -- -n 2
123
+ mkdir coverage
124
+ mv .coverage.* "coverage/.coverage.pypy${{ matrix.version }}"
125
+ - name : Archive code coverage results
126
+ uses : actions/upload-artifact@v4
127
+ with :
128
+ name : code-coverage.graalpy${{ matrix.version }}
129
+ path : coverage/.coverage.py*
130
+ include-hidden-files : true
131
+ if-no-files-found : error
132
+
83
133
run-pypy-tests :
84
134
runs-on : ${{matrix.os}}
85
135
strategy :
You can’t perform that action at this time.
0 commit comments