Fix #2562 security issues in zipp and urllib3 #1158
This file contains 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
name: Python package | |
on: [push, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install lxml dependencies | |
run: sudo apt install libxml2-dev libxslt-dev | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Cython for lxml installation | |
run: pip install Cython | |
- name: Install Tox and any other packages | |
run: pip install tox tox-gh-actions | |
- name: Run Tox | |
run: tox | |
- name: Run flake8 | |
run: tox -e flake8 |