Create README.md #36
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 Python examples | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 6 * * 1' | |
jobs: | |
run-examples: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install uxsim and dependencies | |
run: pip install . | |
- name: Install pytest other dependencies | |
run: pip install pytest setuptools gymnasium torch osmnx | |
- name: Run examples with pytest | |
run: pytest tests/test_demos_and_examples.py --durations=0 |