Skip to content

Commit b0365d6

Browse files
authored
Bump GAMS version in nightly CI worklow (#892)
* Run nightly workflow on GAMS file changes and labeled PRs * Import numpy and partial so nightly test can use it
1 parent 618e13a commit b0365d6

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/nightly.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,19 @@ on:
99
schedule:
1010
# 05:00 UTC = 06:00 CET = 07:00 CEST
1111
- cron: "0 5 * * *"
12+
pull_request_target:
13+
paths:
14+
- '**.gms'
15+
- '**.gpr'
16+
- '**.gdx'
17+
types:
18+
- labeled
1219

1320
env:
14-
GAMS_VERSION: 29.1.0
21+
# Version used until 2024-11-20; disabled
22+
# GAMS_VERSION: 29.1.0
23+
# First version including a macOS arm64 distribution
24+
GAMS_VERSION: 43.4.1
1525
# See description in lint.yml
1626
depth: 100
1727

message_ix/tests/test_nightly.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
"""Slow-running tests for nightly continuous integration."""
22

3+
from functools import partial # noqa: F401, is used through `case["test"]` below
4+
35
import ixmp
6+
import numpy as np # noqa: F401, same as above
47
import pytest
58

69
import message_ix

0 commit comments

Comments
 (0)