forked from mozillazg/pypy
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 1020 Bytes
/
pytest_optimizer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: PyTest Optimizer Only
on:
push:
branches: [ "tristate", "tristate-experimental", "main", "master" ]
pull_request:
branches: [ "tristate", "tristate-experimental", "main", "master" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 2.7
uses: MatteoH2O1999/setup-python@v2
with:
python-version: "2.7"
- name: Checkout PyPy
uses: actions/checkout@v3
with:
repository: mozillazg/pypy
path: pypy
- name: install dependencies
run: |
python -m pip install rply "hypothesis<4.40" z3-solver
- name: Test with pytest
run: |
python pypy/pytest.py -v rpython/jit/metainterp/optimizeopt/ --z3-timeout=500