Skip to content

Commit 2ef5862

Browse files
committed
CI: add Pyston on Ubuntu 20.04 configuration
1 parent 7c57842 commit 2ef5862

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/tests.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,41 @@ 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+
strategy:
69+
fail-fast: false
70+
matrix:
71+
python:
72+
- '3.8'
73+
74+
steps:
75+
- name: Checkout
76+
uses: actions/checkout@v2
77+
78+
- name: Install pyston
79+
run: |
80+
wget https://github.com/pyston/pyston/releases/download/pyston_2.3.5/pyston_2.3.5_20.04_amd64.deb
81+
sudo apt install $(pwd)/pyston_2.3.5_20.04_amd64.deb
82+
83+
- name: Install
84+
run: pyston -m pip --disable-pip-version-check install .[test]
85+
86+
- name: Run tests
87+
run: >-
88+
pyston -m pytest --showlocals -vv --cov
89+
--cov-config setup.cfg
90+
--cov-report=xml:coverage-pyston.xml
91+
92+
- name: Send coverage report
93+
uses: codecov/codecov-action@v1
94+
if: ${{ always() }}
95+
env:
96+
PYTHON: pyston
97+
with:
98+
flags: tests
99+
env_vars: PYTHON
100+
name: pyston

0 commit comments

Comments
 (0)