Make last 1.x-compatible release coherent with 2.x #570
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: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
cache: pip | |
cache-dependency-path: .github/workflows/requirements.txt | |
- name: Apt update | |
run: sudo apt update -y | |
- name: Install xmllint | |
run: | | |
sudo apt install --yes libxml2-utils | |
xmllint --version | |
- name: Install requirements | |
run: pip install -r .github/workflows/requirements.txt | |
- name: Run tests | |
run: pytest |