Skip to content

Commit 07ecc52

Browse files
committed
✨ test also on Windows and Mac (some formatting)
- macos-13 uses Intel Architecture, latest arm64 https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners
1 parent 45ba1e0 commit 07ecc52

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/cdci.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,25 @@ on:
77
branches: [main]
88
release:
99
types: [published]
10-
10+
1111
jobs:
1212
test:
1313
name: Unittests+streamlit
14-
runs-on: ubuntu-latest
14+
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17+
os: ["ubuntu-latest", "macos-13", "macos-latest", "windows-latest"]
1718
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1819
steps:
1920
- uses: actions/checkout@v4
20-
- uses: psf/black@stable
21+
- uses: psf/black@stable
2122
- uses: isort/isort-action@v1
2223
- name: Set up Python ${{ matrix.python-version }}
2324
uses: actions/setup-python@v5
2425
with:
2526
python-version: ${{ matrix.python-version }}
26-
cache: 'pip' # caching pip dependencies
27-
cache-dependency-path: '**/pyproject.toml'
27+
cache: "pip" # caching pip dependencies
28+
cache-dependency-path: "**/pyproject.toml"
2829
- name: Install dependencies
2930
run: |
3031
python -m pip install --upgrade pip
@@ -37,21 +38,22 @@ jobs:
3738
cd docs
3839
vuegen --directory example_data/Earth_microbiome_vuegen_demo_notebook
3940
vuegen --config example_data/Earth_microbiome_vuegen_demo_notebook/Earth_microbiome_vuegen_demo_notebook_config.yaml
40-
41+
4142
other-reports:
4243
name: Integration tests
43-
runs-on: ubuntu-latest
44+
runs-on: ${{ matrix.os }}
4445
strategy:
4546
matrix:
47+
os: ["ubuntu-latest", "macos-13", "macos-latest", "windows-latest"]
4648
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
4749
steps:
4850
- uses: actions/checkout@v4
4951
- name: Set up Python ${{ matrix.python-version }}
5052
uses: actions/setup-python@v5
5153
with:
5254
python-version: ${{ matrix.python-version }}
53-
cache: 'pip' # caching pip dependencies
54-
cache-dependency-path: '**/pyproject.toml'
55+
cache: "pip" # caching pip dependencies
56+
cache-dependency-path: "**/pyproject.toml"
5557
- name: Install dependencies
5658
run: |
5759
pip install --upgrade pip
@@ -110,7 +112,7 @@ jobs:
110112

111113
steps:
112114
- uses: actions/checkout@v4
113-
115+
114116
- uses: actions/setup-python@v5
115117
with:
116118
python-version: "3.11"

0 commit comments

Comments
 (0)