We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ecf4b6 commit bdbfee4Copy full SHA for bdbfee4
noxfile.py
@@ -117,15 +117,13 @@ def lint(session):
117
@nox.session
118
def gha_matrix(session):
119
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
+ matrix = [
+ {
+ "python-version": session["python"],
+ "django-version": session["call_spec"]["django"],
+ }
+ for session in json.loads(sessions)
+ if session["name"] == "tests"
+ ]
130
with Path(os.environ["GITHUB_OUTPUT"]).open("a") as fh:
131
print(f"matrix={matrix}", file=fh)
0 commit comments