Skip to content

Commit

Permalink
Update CI tests configuration
Browse files Browse the repository at this point in the history
  - Add Python version '3.11-dev'
  - No fail-fast
  • Loading branch information
brunato committed Jul 23, 2022
1 parent b960fb9 commit efe279c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test-elementpath.yml
Expand Up @@ -11,9 +11,10 @@ jobs:

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.7, 3.8, 3.9, "3.10", "pypy-3.8"]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11-dev", "pypy-3.8"]
exclude:
- os: macos-latest
python-version: 3.7
Expand All @@ -27,7 +28,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install additional development libraries for building lxml
if: ${{ matrix.os == 'ubuntu-latest' && (matrix.python-version == '3.10' || matrix.python-version == 'pypy-3.8') }}
if: ${{ matrix.os == 'ubuntu-latest' && (matrix.python-version == '3.11-dev' || matrix.python-version == 'pypy-3.8') }}
run: sudo apt-get update && sudo apt-get install libxml2-dev libxslt-dev python-dev
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
Expand All @@ -44,9 +45,9 @@ jobs:
- name: Lint with mypy if Python version != 3.7
if: ${{ matrix.python-version != '3.7' }}
run: |
pip install mypy==0.961 lxml-stubs
pip install mypy==0.971 lxml-stubs
mypy --show-error-codes --strict elementpath
- name: Test with unittest
run: |
pip install lxml xmlschema>=1.9.0
pip install lxml xmlschema>=2.0.0
python -m unittest
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Expand Up @@ -2,6 +2,11 @@
CHANGELOG
*********

`v3.0.1`_ (2022-07-23)
======================
* Fix of descendant path operator (issue #51)
* Add support for Python 3.11

`v3.0.0`_ (2022-07-16)
======================
* Transition to full XPath node implementation (more memory usage but
Expand Down Expand Up @@ -374,3 +379,4 @@ CHANGELOG
.. _v2.5.2: https://github.com/sissaschool/elementpath/compare/v2.5.1...v2.5.2
.. _v2.5.3: https://github.com/sissaschool/elementpath/compare/v2.5.2...v2.5.3
.. _v3.0.0: https://github.com/sissaschool/elementpath/compare/v2.5.3...v3.0.0
.. _v3.0.1: https://github.com/sissaschool/elementpath/compare/v3.0.0...v3.0.1
4 changes: 2 additions & 2 deletions publiccode.yml
Expand Up @@ -6,8 +6,8 @@ publiccodeYmlVersion: '0.2'
name: elementpath
url: 'https://github.com/sissaschool/elementpath'
landingURL: 'https://github.com/sissaschool/elementpath'
releaseDate: '2022-07-16'
softwareVersion: v3.0.0
releaseDate: '2022-07-23'
softwareVersion: v3.0.1
developmentStatus: stable
platforms:
- linux
Expand Down

0 comments on commit efe279c

Please sign in to comment.