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

Bump GAMS version in nightly CI worklow #892

Merged
merged 6 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without this, our secrets could be extracted by any workflow changing GAMS files.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: the tests passed before, so I disabled them again. They won't run when we apply a label to this PR because it would need to clear both filters, i.e. change some GAMS files and get a label to run.


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

Check warning on line 3 in message_ix/tests/test_nightly.py

View check run for this annotation

Codecov / codecov/patch

message_ix/tests/test_nightly.py#L3

Added line #L3 was not covered by tests

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

Check warning on line 6 in message_ix/tests/test_nightly.py

View check run for this annotation

Codecov / codecov/patch

message_ix/tests/test_nightly.py#L6

Added line #L6 was not covered by tests
import pytest

import message_ix
Expand Down
Loading