Skip to content

Commit b4d2ce3

Browse files
committed
Workflow for testing simulation bridge on different machine
1 parent 8947ef4 commit b4d2ce3

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Simulation Bridge Tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
name: Test on ${{ matrix.os }}
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, windows-latest, macos-latest]
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Set up Python
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: "3.12"
23+
24+
- name: Install Poetry
25+
run: |
26+
curl -sSL https://install.python-poetry.org | python3 -
27+
shell: bash
28+
29+
- name: Add Poetry to PATH
30+
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
31+
shell: bash
32+
33+
- name: Install dependencies via Poetry
34+
run: |
35+
poetry install
36+
37+
- name: Run Pytest
38+
run: |
39+
poetry run pytest

0 commit comments

Comments
 (0)