Skip to content

Commit 960d23d

Browse files
committed
Further workflow adjustments
Signed-off-by: Pierre R. Mai <[email protected]>
1 parent fb55266 commit 960d23d

File tree

2 files changed

+19
-11
lines changed

2 files changed

+19
-11
lines changed

.github/workflows/protobuf.yml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: ProtoBuf CI Builds
1+
name: OSI CI Builds
22

33
on:
44
push:
@@ -8,7 +8,7 @@ on:
88
jobs:
99
spellcheck:
1010
name: Spellcheck
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-24.04
1212
steps:
1313
- uses: actions/checkout@v4
1414
- uses: rojopolis/[email protected]
@@ -17,15 +17,13 @@ jobs:
1717
config_path: .github/.pyspelling.yml
1818

1919
run-tests:
20-
name: Run tests and build docs
20+
name: Run tests
2121

22-
runs-on: ubuntu-22.04
22+
runs-on: ubuntu-24.04
2323

2424
steps:
2525
- name: Checkout OSI
2626
uses: actions/checkout@v4
27-
with:
28-
submodules: true
2927

3028
- name: Setup Python
3129
uses: actions/setup-python@v5
@@ -37,6 +35,18 @@ jobs:
3735
python -m pip install --upgrade pip
3836
python -m pip install -r requirements_tests.txt
3937
38+
- name: Run Python Tests
39+
run: python -m unittest discover tests
40+
41+
build-docs:
42+
name: Build docs
43+
44+
runs-on: ubuntu-24.04
45+
46+
steps:
47+
- name: Checkout OSI
48+
uses: actions/checkout@v4
49+
4050
- name: Install Doxygen
4151
run: sudo apt-get install doxygen graphviz
4252

@@ -69,11 +79,10 @@ jobs:
6979
working-directory: build
7080
run: cmake --build . --config Release -j 4
7181

72-
- name: Run Python Tests
73-
run: python -m unittest discover tests
74-
7582
- name: Upload documentation
7683
uses: actions/upload-artifact@v4
7784
with:
7885
name: doxygen-doc
79-
path: doc/
86+
path: |
87+
doc/html/
88+
doc/images/

requirements_tests.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
pyyaml
2-
black==24.3.0

0 commit comments

Comments
 (0)