Skip to content

Commit bdbfee4

Browse files
fix
1 parent 5ecf4b6 commit bdbfee4

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

noxfile.py

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,13 @@ def lint(session):
117117
@nox.session
118118
def gha_matrix(session):
119119
sessions = session.run("nox", "-l", "--json", silent=True)
120-
matrix = {
121-
"include": [
122-
{
123-
"python-version": session["python"],
124-
"django-version": session["call_spec"]["django"],
125-
}
126-
for session in json.loads(sessions)
127-
if session["name"] == "tests"
128-
]
129-
}
120+
matrix = [
121+
{
122+
"python-version": session["python"],
123+
"django-version": session["call_spec"]["django"],
124+
}
125+
for session in json.loads(sessions)
126+
if session["name"] == "tests"
127+
]
130128
with Path(os.environ["GITHUB_OUTPUT"]).open("a") as fh:
131129
print(f"matrix={matrix}", file=fh)

0 commit comments

Comments
 (0)