Skip to content

Bump codecov/codecov-action from 5.0.2 to 5.0.7 #500

Bump codecov/codecov-action from 5.0.2 to 5.0.7

Bump codecov/codecov-action from 5.0.2 to 5.0.7 #500

Workflow file for this run

name: Run examples
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 6 * * 1'
jobs:
run-examples:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uxsim and dependencies
run: |
python -m pip install --upgrade pip
pip install .
- name: Install pytest other dependencies
run: pip install pytest pytest-xdist setuptools gymnasium torch osmnx deap
- name: Run examples with pytest
run: pytest -n auto tests/test_examples.py --durations=0 -v