Bump pytest from 3.1.3 to 9.0.3 #69
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This workflow will install Python dependencies, run tests and lint with a single version of Python | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
| name: test XMLSIG | |
| on: | |
| push: | |
| branches: ["master"] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| include: | |
| - PYTHON_VERSION: "3.6" | |
| LXML_VERSION: "4.3.0" | |
| os: ubuntu-20.04 | |
| - PYTHON_VERSION: "3.6" | |
| LXML_VERSION: "4.6.4" | |
| os: ubuntu-20.04 | |
| - PYTHON_VERSION: "3.7" | |
| LXML_VERSION: "4.3.0" | |
| os: ubuntu-latest | |
| - PYTHON_VERSION: "3.7" | |
| LXML_VERSION: "4.6.4" | |
| os: ubuntu-latest | |
| - PYTHON_VERSION: "3.8" | |
| LXML_VERSION: "4.3.0" | |
| os: ubuntu-latest | |
| - PYTHON_VERSION: "3.8" | |
| LXML_VERSION: "4.6.4" | |
| os: ubuntu-latest | |
| - PYTHON_VERSION: "3.9" | |
| LXML_VERSION: "4.6.4" | |
| os: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{matrix.PYTHON_VERSION}} | |
| - name: Configuration | |
| run: | | |
| sudo apt update | |
| sudo apt install libssl-dev openssl libxml2-dev pkg-config libxslt-dev | |
| - name: Configure TOX | |
| run: | | |
| pip install pip --upgrade | |
| pip install tox codecov tox-gh-actions wheel | |
| pip install lxml==${{matrix.LXML_VERSION}} | |
| - name: Generate Report | |
| run: | | |
| pip install coverage | |
| pip install .[test] | |
| coverage run -m unittest | |
| - name: Upload Coverage to Codecov | |
| uses: codecov/codecov-action@v3 |