Skip to content

Commit

Permalink
Bump GAMS version in nightly CI worklow (#892)
Browse files Browse the repository at this point in the history
* Run nightly workflow on GAMS file changes and labeled PRs
* Import numpy and partial so nightly test can use it
  • Loading branch information
glatterf42 authored Nov 21, 2024
1 parent 618e13a commit b0365d6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,19 @@ on:
schedule:
# 05:00 UTC = 06:00 CET = 07:00 CEST
- cron: "0 5 * * *"
pull_request_target:
paths:
- '**.gms'
- '**.gpr'
- '**.gdx'
types:
- labeled

env:
GAMS_VERSION: 29.1.0
# Version used until 2024-11-20; disabled
# GAMS_VERSION: 29.1.0
# First version including a macOS arm64 distribution
GAMS_VERSION: 43.4.1
# See description in lint.yml
depth: 100

Expand Down
3 changes: 3 additions & 0 deletions message_ix/tests/test_nightly.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
"""Slow-running tests for nightly continuous integration."""

from functools import partial # noqa: F401, is used through `case["test"]` below

import ixmp
import numpy as np # noqa: F401, same as above
import pytest

import message_ix
Expand Down

0 comments on commit b0365d6

Please sign in to comment.