Use ExcludeSet and WithinSet instead of SafetySet. (#68) #182
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
# This workflow will run unit test. | |
name: unit test | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Linting | |
run: flake8 ./ | |
- name: unit test | |
run: pytest tests | |
- name: run linear_toy_demo | |
run: python examples/linear_toy/linear_toy_demo.py | |
- name: run linear_toy_w_input_limits_demo | |
run: python examples/linear_toy/linear_toy_w_input_limits_demo.py | |
- name: run nonlinear_toy_demo | |
run: python examples/nonlinear_toy/demo.py | |
- name: run nonlinear toy demo_trigpoly | |
run: python examples/nonlinear_toy/demo_trigpoly.py --unit_test |