Skip to content

Commit 93d41a3

Browse files
author
cecily_carver
committed
Fixing matrix syntax.
1 parent 48a276a commit 93d41a3

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.github/workflows/tests.yml

+7-13
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,13 @@ jobs:
1010
build:
1111
strategy:
1212
matrix:
13-
version:
14-
- python: "3.7"
15-
ubuntu: "ubuntu-22.04",
16-
- python: "3.8"
17-
ubuntu: "ubuntu-22.04",
18-
- python: "3.9",
19-
ubuntu: "ubuntu-latest"
20-
- python: "3.10",
21-
ubuntu: "ubuntu-latest"
22-
- python: "3.11",
23-
ubuntu: "ubuntu-latest"
24-
- python: "3.12"
25-
ubuntu: "ubuntu-latest"
13+
version: [
14+
{ python: "3.7", ubuntu: "ubuntu-22.04" },
15+
{ python: "3.8", ubuntu: "ubuntu-22.04" },
16+
{ python: "3.9", ubuntu: "ubuntu-latest" },
17+
{ python: "3.10", ubuntu: "ubuntu-latest" },
18+
{ python: "3.11", ubuntu: "ubuntu-latest" },
19+
{ python: "3.12", ubuntu: "ubuntu-latest" } ]
2620
runs-on: ${{ matrix.version.ubuntu }}
2721
steps:
2822
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)