Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-enable windows tests (except for py3.10) #2210

Merged
merged 5 commits into from May 13, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions .circleci/config.yml
Expand Up @@ -99,9 +99,9 @@ commands:
- run:
name: Preparing environment - system
command: |
choco install -y --no-progress miniconda3 --params '"/AddToPath:1"'
C:\tools\miniconda3\Scripts\conda.exe init powershell
choco install -y --no-progress miniconda3
choco install -y --no-progress openssl javaruntime
C:\tools\miniconda3\Scripts\conda.exe init powershell
- run:
name: Preparing environment - Hydra
command: |
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
name: Testing Hydra
no_output_timeout: 10m
command: |
$env:NOX_PYTHON_VERSIONS=<< parameters.py_version >>
$env:NOX_PYTHON_VERSIONS="<< parameters.py_version >>"
$env:PYTHONIOENCODING="utf_8"
conda activate hydra
nox -s lint test_tools test_core test_jupyter_notebooks -ts
Expand Down Expand Up @@ -315,4 +315,4 @@ workflows:


orbs:
win: circleci/windows@1.0.0
win: circleci/windows@2.2.0
14 changes: 4 additions & 10 deletions noxfile.py
Expand Up @@ -37,6 +37,8 @@
VERBOSE = os.environ.get("VERBOSE", "0")
SILENT = VERBOSE == "0"

nox.options.error_on_missing_interpreters = True


@dataclass
class Plugin:
Expand Down Expand Up @@ -65,16 +67,8 @@ def get_current_os() -> str:


def _upgrade_basic(session):
session.run(
"python",
"-m",
"pip",
"install",
"--upgrade",
"setuptools",
"pip",
silent=SILENT,
)
session.install("--upgrade", "pip", silent=SILENT)
session.install("--upgrade", "setuptools", silent=SILENT)


def find_dirs(path: str):
Expand Down