Skip to content

Commit 62d3235

Browse files
committed
Test on Python 3.10 alpha 5 and RustPython
1 parent f9df14c commit 62d3235

File tree

6 files changed

+62
-10
lines changed

6 files changed

+62
-10
lines changed

.github/workflows/python_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: "windows-2019"
1414
continue-on-error: ${{ matrix.config.experimental }}
1515
env:
16-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-alpha.4'
16+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-alpha.5'
1717

1818
strategy:
1919
fail-fast: False
@@ -23,7 +23,7 @@ jobs:
2323
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
2424
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
2525
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
26-
- {python-version: "3.10.0-alpha.4", testenvs: "py310-dev,build", experimental: True}
26+
- {python-version: "3.10.0-alpha.5", testenvs: "py310-dev,build", experimental: True}
2727

2828
steps:
2929
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: "ubuntu-20.04"
1414
continue-on-error: ${{ matrix.config.experimental }}
1515
env:
16-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-alpha.4'
16+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-alpha.5'
1717

1818
strategy:
1919
fail-fast: False
@@ -23,7 +23,7 @@ jobs:
2323
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
2424
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
2525
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
26-
- {python-version: "3.10.0-alpha.4", testenvs: "py310-dev,build", experimental: True}
26+
- {python-version: "3.10.0-alpha.5", testenvs: "py310-dev,build", experimental: True}
2727

2828
steps:
2929
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: "macos-latest"
1414
continue-on-error: ${{ matrix.config.experimental }}
1515
env:
16-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-alpha.4'
16+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-alpha.5'
1717

1818
strategy:
1919
fail-fast: False
@@ -23,7 +23,7 @@ jobs:
2323
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
2424
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
2525
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
26-
- {python-version: "3.10.0-alpha.4", testenvs: "py310-dev,build", experimental: True}
26+
- {python-version: "3.10.0-alpha.5", testenvs: "py310-dev,build", experimental: True}
2727

2828
steps:
2929
- name: Checkout 🛎️
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
2+
---
3+
name: RustPython
4+
5+
on:
6+
push:
7+
8+
jobs:
9+
tests:
10+
name: "ubuntu-20.04 / RustPython"
11+
runs-on: "ubuntu-20.04"
12+
env:
13+
USING_COVERAGE: 'rustpython'
14+
CARGO_TERM_COLOR: always
15+
16+
steps:
17+
- name: Checkout 🛎️
18+
uses: "actions/checkout@v2"
19+
20+
- name: Setup RustPython 🦀 🐍
21+
run: |
22+
git clone https://github.com/RustPython/RustPython
23+
cargo install --path ./RustPython
24+
rm -rf ./RustPython
25+
26+
- name: Install dependencies 🔧
27+
run: |
28+
python -VV
29+
python -m site
30+
python -m pip install --upgrade pip setuptools wheel
31+
python -m pip install --upgrade tox virtualenv
32+
python -m pip install --upgrade coverage_pyver_pragma
33+
34+
- name: "Run Tests for RustPython"
35+
run: python -m tox -e rustpython
36+
37+
- name: "Upload Coverage 🚀"
38+
uses: actions/upload-artifact@v2
39+
if: always()
40+
with:
41+
name: "coverage-rustpython"
42+
path: .coverage
43+
44+
45+
- name: "Upload tempdir on failure"
46+
uses: actions/upload-artifact@v2
47+
if: failure()
48+
with:
49+
name: "pytest-tempdir"
50+
path: /tmp/pytest-of-runner/pytest-0

repo_helper.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Configuration for 'repo_helper' (https://github.com/domdfcoding/repo_helper)
12
---
23
modname: flake8_sphinx_links
34
repo_name: flake8-sphinx-links
@@ -19,9 +20,10 @@ python_deploy_version: 3.6
1920
python_versions:
2021
- '3.6'
2122
- '3.7'
22-
- "3.8"
23+
- '3.8'
2324
- '3.9'
24-
- "3.10-dev"
25+
- 3.10-dev
26+
- rustpython
2527

2628
classifiers:
2729
- 'Development Status :: 4 - Beta'

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
# * pytest
1717

1818
[tox]
19-
envlist = py36, py37, py38, py39, py310-dev, mypy, build
19+
envlist = py36, py37, py38, py39, py310-dev, rustpython, mypy, build
2020
skip_missing_interpreters = True
2121
requires =
2222
pip>=20.3.3
2323
tox-envlist>=0.1.0
2424
isolated_build = True
2525

2626
[envlists]
27-
test = py36, py37, py38, py39, py310-dev
27+
test = py36, py37, py38, py39, py310-dev, rustpython
2828
qa = mypy, lint
2929
cov = py36, coverage
3030

0 commit comments

Comments
 (0)