Merge pull request #53 from bytinbit/dependabot/pip/cryptography-43.0.1 #73
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: Run tests with tox | |
on: [push] | |
jobs: | |
self-tests: | |
name: pytest tests with tox | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- python: "3.10" | |
testenv: py | |
- python: "3.11" | |
testenv: py | |
steps: | |
- uses: actions/checkout@v3 | |
- name: set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "${{ matrix.python }}" | |
- name: install tox | |
run: pip install tox | |
- name: install texlive-base and poppler-utils | |
run: sudo apt-get install --no-install-recommends texlive-latex-recommended poppler-utils | |
- name: run tox | |
run: "tox -e ${{ matrix.testenv}}" | |
quality: | |
name: quality tests with tox | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
testenv: [mypy, linting] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: install tox | |
run: pip install tox | |
- name: run tox | |
run: "tox -e ${{ matrix.testenv}}" | |
# TODO run weekly every sunday-evening pikepdf-main |