Skip to content

Simulation bridge event based architecture #10

Simulation bridge event based architecture

Simulation bridge event based architecture #10

name: Simulation Bridge Tests
on:
pull_request:
jobs:
test:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Poetry
run: |
python -m pip install --upgrade pip
curl -sSL https://install.python-poetry.org | python -
env:
POETRY_HOME: ${{ runner.temp }}/poetry
- name: Add Poetry to PATH
run: echo "${{ runner.temp }}/poetry/bin" >> $GITHUB_PATH
if: runner.os != 'Windows'
- name: Add Poetry to PATH on Windows
run: echo "${{ runner.temp }}\poetry\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8
if: runner.os == 'Windows'
shell: pwsh
- name: Install dependencies via Poetry
run: |
poetry install
- name: Run Pytest
run: |
poetry run pytest