Skip to content

Commit

Permalink
add verifications for test
Browse files Browse the repository at this point in the history
  • Loading branch information
toruseo committed Mar 19, 2024
1 parent cc744b2 commit b346ea9
Show file tree
Hide file tree
Showing 3 changed files with 398 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/run-verifications.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Run Python verifications

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
- name: Run verifications with pytest
run: pytest tests/test_verification_straight_road.py --durations=0
4 changes: 4 additions & 0 deletions tests/test_demos_and_examples.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
This script tests whether the example scripts can run without errors.
"""

import pytest
import subprocess
import os
Expand Down
Loading

0 comments on commit b346ea9

Please sign in to comment.