feat: add -c/--config flag to every command

This commit is contained in:
cătălin 2023-03-04 23:16:00 +02:00
commit 6f45b76579
Signed by: catalin
GPG key ID: 686088EF78EE4083
10 changed files with 163 additions and 51 deletions

View file

@ -5,10 +5,20 @@ VERSIONS = ["3.10", "3.11"]
@nox.session(python=VERSIONS)
def tests(session):
session.run('pdm', 'export', '-G', 'tests', '-f', 'requirements', '-o', 'requirements.txt', external=True)
session.install('-r', "requirements.txt")
session.run(
"pdm",
"export",
"-G",
"tests",
"-f",
"requirements",
"-o",
"requirements.txt",
external=True,
)
session.install("-r", "requirements.txt")
session.run("make", "tests", external=True)
session.run('rm', "requirements.txt", external=True)
session.run("rm", "requirements.txt", external=True)
@nox.session(python=VERSIONS)