Skip to content

A CI workflow to test our python packages #6

A CI workflow to test our python packages

A CI workflow to test our python packages #6

Workflow file for this run

name: Test
# Test the python packages that are part of the toolchain
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
# Checkout the repository
- name: Checkout repository
uses: actions/checkout@v2
# Set up ROS
- name: Set up ROS
uses: ros-tooling/[email protected]
with:
required-ros-distributions: humble
# Update pip
- name: Update pip
run: python -m pip install --upgrade pip
# install the packages
- name: Install packages
run: |
pip install jani_generator/.[dev]
pip install mc_toolchain_jani_common/.[dev]
pip install scxml_converter/.[dev]
# lint packages
# TODO: add linting
# run the tests
- name: Run tests
run: pytest