Bump to v0.2.14 (#747) #213
Workflow file for this run
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 | |
on: push | |
jobs: | |
python: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
env: | |
PYTHON_VERSION: ${{matrix.python-version}} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{matrix.python-version}} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{matrix.python-version}} | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install --yes ghostscript imagemagick | |
sudo sed -i 's#<policy domain="coder" rights="none" pattern="PDF" />#<policy domain="coder" rights="read|write" pattern="PDF" />#' /etc/ImageMagick-6/policy.xml | |
python -m pip install --upgrade pip | |
python -m pip install .[test] | |
- name: run | |
run: make test-ref | |
- name: Test with tox | |
run: tox | |
env: | |
TOXENV: py${{matrix.python-version}} | |
- name: Generate coverage report | |
run: coverage xml | |
- name: Upload test coverage | |
uses: coverallsapp/github-action@v2 | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
with: | |
github-token: ${{ github.token }} | |
file: "coverage.xml" | |
format: "cobertura" |