Skip to content

Commit

Permalink
Ensure only the relevant versions are tested
Browse files Browse the repository at this point in the history
  • Loading branch information
parafoxia committed Sep 27, 2021
1 parent b57e067 commit 22e0963
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
import os
from pathlib import Path

import nox

if os.environ.get("CI", False):
import sys

PY_VERSIONS = [".".join(f"{v}" for v in sys.version_info[:2])]

else:
PY_VERSIONS = [f"3.{v}" for v in range(6, 11)] # 3.6 - 3.10

PROJECT_NAME = "analytix"
LIB_DIR = Path(__file__).parent / PROJECT_NAME
TEST_DIR = Path(__file__).parent / "tests"
PY_VERSIONS = [f"3.{v}" for v in range(6, 11)] # 3.6 - 3.10


def parse_requirements(path):
Expand Down

0 comments on commit 22e0963

Please sign in to comment.