Skip to content

Fix pytest-xdist serialization issue with workflow-embedded version pinning #99

Fix pytest-xdist serialization issue with workflow-embedded version pinning

Fix pytest-xdist serialization issue with workflow-embedded version pinning #99

name: Test optional functions
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 6 * * 1'
jobs:
test-optional-functions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install uxsim and dependencies
run: |
python -m pip install --upgrade pip
pip install .[advanced]
- name: Install pytest other dependencies
run: |
# Install testing dependencies with compatible versions to avoid serialization issues
pip install -r test-requirements.txt setuptools requests
- name: Run tests with pytest
run: pytest -n auto tests/test_optional_functions_python313.py --durations=0 -v