Skip to content

Commit 2296a72

Browse files
committed
TST: run on pyston
1 parent 8de5e0b commit 2296a72

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/tests.yml

+33
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,36 @@ jobs:
6060
flags: tests
6161
env_vars: PYTHON
6262
name: ${{ matrix.python }}
63+
64+
pyston:
65+
runs-on: ubuntu-20.04
66+
env:
67+
FORCE_COLOR: true
68+
69+
steps:
70+
- name: Checkout
71+
uses: actions/checkout@v2
72+
73+
- name: Install pyston
74+
run: |
75+
wget https://github.com/pyston/pyston/releases/download/pyston_2.3.5/pyston_2.3.5_20.04_amd64.deb
76+
sudo apt install pyston_2.3.5_20.04_amd64.deb
77+
78+
- name: Install
79+
run: pyston -m pip --disable-pip-version-check install .[test]
80+
81+
- name: Run tests
82+
run: >-
83+
pyston -m pytest --showlocals -vv --cov
84+
--cov-config setup.cfg
85+
--cov-report=xml:coverage-${{ matrix.python }}.xml
86+
87+
- name: Send coverage report
88+
uses: codecov/codecov-action@v1
89+
if: ${{ always() }}
90+
env:
91+
PYTHON: pyston
92+
with:
93+
flags: tests
94+
env_vars: PYTHON
95+
name: pyston

0 commit comments

Comments
 (0)