Skip to content

A CI workflow to test our python packages #5

A CI workflow to test our python packages

A CI workflow to test our python packages #5

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
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
# Checkout the repository
- name: Checkout repository
uses: actions/checkout@v2
# Set up Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# 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