Setuptools fossils #70
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: Tests | |
on: | |
# Test all pull requests, and any push to master. | |
pull_request: | |
push: | |
branches: | |
- master | |
# Allow to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "pypy-3.9"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install lxml dev libraries | |
# Needed to avoid error on PyPy3 when installing lxml: | |
# Error: Please make sure the libxml2 and libxslt development packages are installed. | |
run: sudo apt-get install libxml2-dev libxslt1-dev | |
if: matrix.python-version == 'pypy3.9' | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Tox | |
run: pip install tox | |
- name: Run Tox | |
# Run tox using the version of Python in `PATH` | |
run: tox -e py |