mirror of
https://github.com/mnaberez/py65.git
synced 2024-12-26 17:29:50 +00:00
Fix running Python 3.4 and 3.5 on CI
This commit is contained in:
parent
55eef25998
commit
9ae3871388
36
.github/workflows/main.yml
vendored
36
.github/workflows/main.yml
vendored
@ -26,6 +26,42 @@ jobs:
|
||||
- name: Run the tests
|
||||
run: python setup.py test -q
|
||||
|
||||
build_py34:
|
||||
runs-on: ubuntu-20.04
|
||||
container: python:3.4
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Show Python version
|
||||
run: python -V
|
||||
|
||||
- name: Install dependencies
|
||||
run: $PIP install setuptools
|
||||
|
||||
- name: Run the tests
|
||||
run: python setup.py test -q
|
||||
|
||||
build_py35:
|
||||
runs-on: ubuntu-20.04
|
||||
container: python:3.5
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Show Python version
|
||||
run: python -V
|
||||
|
||||
- name: Install dependencies
|
||||
run: $PIP install setuptools
|
||||
|
||||
- name: Run the tests
|
||||
run: python setup.py test -q
|
||||
|
||||
build_py3x:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
4
setup.py
4
setup.py
@ -7,7 +7,7 @@ PY3 = py_version[0] == 3
|
||||
|
||||
if PY3:
|
||||
if py_version < (3, 4):
|
||||
raise RuntimeError('On Python 3, Py65 requires Python 3.6 or later')
|
||||
raise RuntimeError('On Python 3, Py65 requires Python 3.4 or later')
|
||||
else:
|
||||
if py_version < (2, 7):
|
||||
raise RuntimeError('On Python 2, Py65 requires Python 2.7 or later')
|
||||
@ -27,6 +27,8 @@ CLASSIFIERS = [
|
||||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
|
Loading…
Reference in New Issue
Block a user