@@ -2,21 +2,32 @@ name: Run CI
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [main]
66 paths-ignore :
7- - ' **.md' # Do not need to run CI for markdown changes.
7+ - " **.md" # Do not need to run CI for markdown changes.
88 pull_request :
9- branches : [ main ]
9+ branches : [main]
1010 paths-ignore :
11- - ' **.md'
11+ - " **.md"
1212
1313jobs :
1414 linux :
1515 runs-on : ubuntu-latest
1616
1717 strategy :
18+ fail-fast : false
1819 matrix :
19- python-version : ["3.8", "3.9", "3.10", "3.11", "3.12"]
20+ include :
21+ - python-version : " 3.8"
22+ poetry-version : " 1.8.5"
23+ - python-version : " 3.9"
24+ poetry-version : " latest"
25+ - python-version : " 3.10"
26+ poetry-version : " latest"
27+ - python-version : " 3.11"
28+ poetry-version : " latest"
29+ - python-version : " 3.12"
30+ poetry-version : " latest"
2031
2132 steps :
2233 - uses : actions/checkout@v4
2738
2839 - name : Install poetry
2940 uses : abatilo/actions-poetry@7b6d33e44b4f08d7021a1dee3c044e9c253d6439
41+ with :
42+ poetry-version : ${{ matrix.poetry-version }}
3043
3144 - uses : ./.github/actions/build
3245 - uses : ./.github/actions/build-docs
5467 shell : powershell
5568
5669 strategy :
70+ fail-fast : false
5771 matrix :
58- python-version : ["3.8", "3.9", "3.10", "3.11", "3.12"]
72+ include :
73+ - python-version : " 3.8"
74+ poetry-version : " 1.8.5"
75+ - python-version : " 3.9"
76+ poetry-version : " latest"
77+ - python-version : " 3.10"
78+ poetry-version : " latest"
79+ - python-version : " 3.11"
80+ poetry-version : " latest"
81+ - python-version : " 3.12"
82+ poetry-version : " latest"
5983
6084 steps :
6185 - uses : actions/checkout@v4
6690
6791 - name : Install poetry
6892 uses : abatilo/actions-poetry@7b6d33e44b4f08d7021a1dee3c044e9c253d6439
93+ with :
94+ poetry-version : ${{ matrix.poetry-version }}
6995
7096 - name : Install requirements
7197 run : poetry install
0 commit comments