Fix pytest-xdist serialization issue with workflow-embedded version pinning #99
This file contains hidden or 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: 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 | |