Skip to content

Commit

Permalink
Reinstate support for Python 3.6
Browse files Browse the repository at this point in the history
* Run Python 3.6 tests using older 'ubuntu-20.04' image.
* Also add tests for Python 3.10 and 3.11.
* Bump version to 0.3.5 in preparation for new release.
  • Loading branch information
GraemeWatt committed Aug 24, 2023
1 parent dcd80d3 commit 36ff72b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -13,10 +13,14 @@ jobs:

test:

runs-on: ubuntu-latest
runs-on: ${{ matrix.runner }}
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9' ]
runner: ['ubuntu-latest']
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
include:
- runner: 'ubuntu-20.04'
python-version: '3.6'

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion hepdata_validator/version.py
Expand Up @@ -27,4 +27,4 @@

from __future__ import absolute_import, print_function

__version__ = "0.3.4"
__version__ = "0.3.5"
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -94,7 +94,7 @@ def run_tests(self):
test_suite='hepdata_validator.testsuite',
tests_require=test_requirements,
cmdclass={'test': PyTest},
python_requires='>=3.7',
python_requires='>=3.6',
entry_points={
'console_scripts': ['hepdata-validate=hepdata_validator.cli:validate'],
}
Expand Down

0 comments on commit 36ff72b

Please sign in to comment.