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

Commit ff6f039

Browse files
authored
[GH-Actions] Update test build config (#148)
Test documentation build for various OS and Python versions. os: [ ubuntu-latest, macos-latest, windows-latest ] python-version: [ "3.9", "3.10", "3.11", "3.12" ]
1 parent 9f9f87a commit ff6f039

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/test_build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,24 @@ on:
1414
jobs:
1515
check-build:
1616
runs-on: ubuntu-latest
17+
strategy:
18+
matrix:
19+
os: [ ubuntu-latest, macos-latest, windows-latest ]
20+
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
1721

1822
steps:
1923
- name: Checkout
2024
uses: actions/checkout@v3
2125
with:
2226
submodules: true
23-
- name: Setup Python
27+
- name: Setup Python ${{ matrix.python-version }}
2428
uses: actions/setup-python@v2
29+
with:
30+
python-version: ${{ matrix.python-version }}
2531
- name: Install dependencies
2632
run: |
2733
pip install -r requirements.txt
2834
- name: Build documents
2935
run: |
3036
LANGUAGE=en make html
31-
LANGUAGE=uk make html
37+
LANGUAGE=uk make html

0 commit comments

Comments
 (0)