Skip to content

Commit

Permalink
Merge branch 'iiasa:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ywpratama authored Jun 11, 2023
2 parents e9fdf24 + 6dee23a commit f40a0d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/conda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,15 @@ jobs:

- name: Configure conda channels, update, create environment, and install message-ix
run: |
conda install -n base conda-libmamba-solver
conda config --set solver libmamba
conda config --prepend channels conda-forge
conda config --set channel_priority strict
conda update -n base -c defaults conda
# Also install pytest and packages required for testing. pip/PyPI
# supports this via message_ix[testing], but conda does not.
conda create --quiet --name testenv message-ix=3.6.0 ${{ matrix.extra-deps }} pytest asyncssh sphinx
conda create --quiet --name testenv message-ix ${{ matrix.extra-deps }} pytest asyncssh sphinx
conda list --name testenv
- name: Check CLI commands and run test
Expand Down
2 changes: 1 addition & 1 deletion message_ix/tests/test_tutorials.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def nb_path(request, tutorial_path):

def default_args():
"""Default arguments for :func:`.run_notebook."""
if GHA and sys.platform == "darwin":
if GHA and sys.platform in ("darwin", "win32"):
# Use a longer timeout
return dict(timeout=30)
else:
Expand Down

0 comments on commit f40a0d6

Please sign in to comment.