Skip to content

added FollowTrajectoryBehavior with constant throttle value #1

added FollowTrajectoryBehavior with constant throttle value

added FollowTrajectoryBehavior with constant throttle value #1

Workflow file for this run

name: run_coverage
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
inputs:
ref:
description: Git ref on which to run the tests.
type: string
required: true
workflow_call:
inputs:
ref:
description: Git ref on which to run the tests.
type: string
jobs:
coverage:
strategy:
fail-fast: true
matrix:
python-version: ["3.11"]
os: [ubuntu-latest]
extras: ["test-full"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout given ref
uses: actions/checkout@v3
if: inputs.ref != ''
with:
ref: ${{ inputs.ref }}
- name: Checkout current branch
uses: actions/checkout@v3
if: inputs.ref == ''
with:
ref: ${{ github.ref }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Update pip
run: |
python -m pip install --upgrade pip
- name: Install Scenic and dependencies
run: |
python -m pip install -e ".[${{ matrix.extras }}]"
- name: Run and report code coverage
run: |
pytest --cov --cov-report json
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: BerkeleyLearnVerify/Scenic