Skip to content

Commit 884cfd8

Browse files
committed
feat(ci): test on python 2.7
1 parent dbb3f13 commit 884cfd8

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/tests.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,22 @@ jobs:
5353
coverage run -m pytest
5454
coverage report
5555
56+
pytest-python2.7:
57+
runs-on: ubuntu-latest
58+
container: coatldev/six:latest
59+
steps:
60+
- uses: actions/checkout@v4
61+
- name: Display Python verison
62+
run: python -c "import sys; print(sys.version)"
63+
- name: Install dependencies
64+
run: |
65+
python -m pip install --upgrade pip
66+
pip install -r requirements/pytest.txt
67+
- name: Test with pytest
68+
run: |
69+
coverage run -m pytest
70+
coverage report
71+
5672
flake8:
5773
runs-on: ubuntu-latest
5874
steps:

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ classifiers = [
1414
'Intended Audience :: Information Technology',
1515
'Intended Audience :: Science/Research',
1616
'Programming Language :: Python',
17+
'Programming Language :: Python :: 2',
18+
'Programming Language :: Python :: 2.7',
1719
'Programming Language :: Python :: 3',
1820
'Programming Language :: Python :: 3.6',
1921
'Programming Language :: Python :: 3.7',

0 commit comments

Comments
 (0)