Skip to content

Commit 1bd1043

Browse files
committed
Adds integration test workflow
1 parent e89e87c commit 1bd1043

1 file changed

Lines changed: 58 additions & 0 deletions

File tree

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: integration-test
2+
3+
on:
4+
workflow_call:
5+
workflow_dispatch:
6+
push:
7+
branches: ["main", "tester/*"]
8+
pull_request:
9+
branches: ["main"]
10+
11+
jobs:
12+
integration-test-package:
13+
runs-on: ${{ matrix.os }}
14+
15+
strategy:
16+
matrix:
17+
name: [
18+
"ubuntu-python-3-10",
19+
"ubuntu-python-3-11",
20+
"ubuntu-python-3-12",
21+
"ubuntu-python-3-13"
22+
]
23+
24+
include:
25+
- name: "ubuntu-python-3-10"
26+
python-version: "3.10"
27+
os: ubuntu-latest
28+
- name: "ubuntu-python-3-11"
29+
python-version: "3.11"
30+
os: ubuntu-latest
31+
- name: "ubuntu-python-3-12"
32+
python-version: "3.12"
33+
os: ubuntu-latest
34+
- name: "ubuntu-python-3-13"
35+
python-version: "3.13"
36+
os: ubuntu-latest
37+
38+
env:
39+
MICROMANAGER_ROOT: ./
40+
41+
steps:
42+
- uses: actions/checkout@v3
43+
- name: Set up Python ${{ matrix.python-version }}
44+
uses: actions/setup-python@v3
45+
with:
46+
python-version: ${{ matrix.python-version }}
47+
- name: Set up docker-compose
48+
uses: docker/setup-compose-action@v1
49+
with:
50+
version: latest
51+
- name: Install uv
52+
run: make install-uv
53+
- name: Create virtual environment
54+
run: uv venv --python=python
55+
- name: Install local package
56+
run: make install-local-package
57+
- name: Integration-test package
58+
run: make test-integration

0 commit comments

Comments
 (0)