File: noxfile.py

package info (click to toggle)
python-aiopvapi 3.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 684 kB
  • sloc: python: 3,123; xml: 850; makefile: 5
file content (11 lines) | stat: -rw-r--r-- 295 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
"""Nox testing"""

import nox


@nox.session(python=["3.7", "3.8", "3.9"])
def tests(session):
    session.run("pip", "install", "-r", "requirements-dev.txt")
    session.run("pip", "install", ".")
    session.run("pytest", "--cov=aiopvapi",
                "--cov-report=xml:cov.xml", "tests")