Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit ad0529d

Browse files
committed
CI: Update test build workflow
1 parent affd390 commit ad0529d

File tree

1 file changed

+25
-12
lines changed

1 file changed

+25
-12
lines changed

.github/workflows/test_build.yml

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,39 +12,52 @@ on:
1212
- "requirements.txt"
1313

1414
jobs:
15-
check-build:
16-
runs-on: ubuntu-latest
15+
build-docs:
16+
runs-on: ${{ matrix.os }}
1717
strategy:
1818
matrix:
1919
os: [ ubuntu-latest, macos-latest, windows-latest ]
2020
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
2121

2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525
with:
2626
submodules: true
2727

28-
- name: Se tup Python ${{ matrix.python-version }}
28+
- name: Set up Python ${{ matrix.python-version }}
2929
uses: actions/setup-python@v4
3030
with:
3131
python-version: ${{ matrix.python-version }}
3232

33-
- name: Set up NodeJS
34-
uses: actions/setup-node@v4
35-
with:
36-
node-version: 18
37-
3833
- name: Install dependencies
3934
run: |
4035
pip install -r requirements.txt
41-
npm install
4236
4337
- name: Build documents
4438
run: |
4539
LANGUAGE=en make html
4640
LANGUAGE=uk make html
4741
42+
build-pres:
43+
runs-on: ${{ matrix.os }}
44+
strategy:
45+
matrix:
46+
os: [ ubuntu-latest, macos-latest, windows-latest ]
47+
48+
steps:
49+
- name: Checkout
50+
uses: actions/checkout@v4
51+
with:
52+
submodules: true
53+
54+
- name: Set up NodeJS
55+
uses: actions/setup-node@v4
56+
with:
57+
node-version: 18
58+
59+
- name: Install dependencies
60+
run: npm install
61+
4862
- name: Build presentations
49-
run: |
50-
npm run build
63+
run: npm run build

0 commit comments

Comments
 (0)