Simulation bridge event based architecture #10
Workflow file for this run
This file contains hidden or 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
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 |