Skip to content

Commit b679e2d

Browse files
Release prep (#27)
* Release prep: larger test matrix, migration guide update and doc building * Update utils package * Unify bic.utils * Try to fix build * Update test matrix and doc
1 parent 101aea7 commit b679e2d

11 files changed

Lines changed: 1426 additions & 1301 deletions

File tree

.github/workflows/docs.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: docs
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: pages
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-python@v5
23+
with:
24+
python-version: "3.11"
25+
- uses: actions/configure-pages@v5
26+
- name: Install package and docs tooling
27+
run: python -m pip install -v ".[test]" pdoc
28+
- name: Build docs
29+
run: pdoc bioimage_cpp -o docs
30+
- uses: actions/upload-pages-artifact@v3
31+
with:
32+
path: docs
33+
34+
deploy:
35+
needs: build
36+
runs-on: ubuntu-latest
37+
environment:
38+
name: github-pages
39+
url: ${{ steps.deployment.outputs.page_url }}
40+
steps:
41+
- id: deployment
42+
uses: actions/deploy-pages@v4

.github/workflows/tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ on:
66

77
jobs:
88
test:
9-
runs-on: ubuntu-latest
9+
name: ${{ matrix.os }}
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
os: [ubuntu-latest, macos-latest, windows-latest]
1015
steps:
1116
- uses: actions/checkout@v4
1217
- uses: actions/setup-python@v5

0 commit comments

Comments
 (0)