Fix opensuse workflow #457
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: sdist | |
on: [push, pull_request] | |
jobs: | |
sdist: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install build dependencies | |
run: | | |
pip install --upgrade pip setuptools wheel | |
- name: Package source dist | |
run: | | |
python setup.py sdist | |
- name: Install test dependencies | |
run: | | |
sudo apt-get install libxml2-dev libxmlsec1-dev libxmlsec1-openssl opensc softhsm2 libengine-pkcs11-openssl | |
pip install --upgrade -r requirements-test.txt --no-binary lxml | |
pip install dist/xmlsec-$(python setup.py --version).tar.gz | |
- name: Run tests | |
run: | | |
pytest -v --color=yes |