forked from elastic/rally
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnoxfile.py
26 lines (18 loc) · 789 Bytes
/
noxfile.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import nox
@nox.session(python=["3.8", "3.9", "3.10", "3.11"])
def test(session: nox.Session) -> None:
session.install(".[develop]")
session.run("pytest")
@nox.session(python=["3.8", "3.9", "3.10", "3.11"])
def it(session: nox.Session) -> None:
session.install(".[develop]")
session.run("pytest", "-s", "it")
@nox.session(python="3")
def it_serverless(session: nox.Session) -> None:
session.install(".[develop]")
session.run("pytest", "-s", "it_serverless", *session.posargs)
@nox.session(python="3")
def rally_tracks_compat(session: nox.Session) -> None:
session.install(".[develop]")
session.install("pytest-rally @ git+https://github.com/elastic/pytest-rally.git")
session.run("pytest", "it/track_repo_compatibility", "--log-cli-level=INFO")